Star64_linux/arch/arm/kernel
Russell King aa06e5c1f9 ARM: entry: get rid of multiple macro definitions
The following structure is just asking for trouble:

 #ifdef CONFIG_symbol
	.macro foo
	...
	.endm
	.macro bar
	...
	.endm
	.macro baz
	...
	.endm
 #else
	.macro foo
	...
	.endm
	.macro bar
	...
	.endm
 #ifdef CONFIG_symbol2
	.macro baz
	...
	.endm
 #else
	.macro baz
	...
	.endm
 #endif
 #endif

such as one defintion being updated, but the other definitions miss out.
Where the contents of a macro needs to be conditional, the hint is in
the first clause of this very sentence.  "contents" "conditional".  Not
multiple separate definitions, especially not when much of the macro
is the same between different configs.

This patch fixes this bad style, which had caused the Thumb2 code to
miss-out on the uaccess updates.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2015-08-26 20:25:48 +01:00
..
.gitignore
arch_timer.c
armksyms.c ARM: uaccess: provide uaccess_save_and_enable() and uaccess_restore() 2015-08-25 16:14:43 +01:00
asm-offsets.c
atags.h
atags_compat.c
atags_parse.c
atags_proc.c
bios32.c
calls.S
cpuidle.c
crash_dump.c
debug.S
devtree.c
dma-isa.c
dma.c
early_printk.c
elf.c
entry-armv.S ARM: domains: switch to keeping domain value in register 2015-08-21 13:55:49 +01:00
entry-common.S
entry-ftrace.S
entry-header.S ARM: entry: get rid of multiple macro definitions 2015-08-26 20:25:48 +01:00
entry-v7m.S
fiq.c
fiqasm.S
ftrace.c
head-common.S
head-nommu.S
head.S ARM: domains: move initial domain setting value to asm/domains.h 2015-08-21 13:55:51 +01:00
hibernate.c
hw_breakpoint.c
hyp-stub.S
insn.c
io.c
irq.c
isa.c
iwmmxt.S
jump_label.c
kgdb.c
machine_kexec.c
Makefile
module-plts.c
module.c
module.lds
opcodes.c
patch.c
perf_callchain.c
perf_event.c
perf_event_v6.c
perf_event_v7.c
perf_event_xscale.c
perf_regs.c
pj4-cp0.c
process.c ARM: domains: switch to keeping domain value in register 2015-08-21 13:55:49 +01:00
psci-call.S
psci.c
psci_smp.c
ptrace.c
reboot.c
reboot.h
relocate_kernel.S
return_address.c
setup.c xen: features and cleanups for 4.2-rc0 2015-07-01 11:53:46 -07:00
signal.c
sigreturn_codes.S
sleep.S
smp.c
smp_scu.c
smp_tlb.c
smp_twd.c
stacktrace.c
suspend.c
swp_emulate.c
sys_arm.c
sys_oabi-compat.c
tcm.c
thumbee.c
time.c
topology.c
traps.c ARM: domains: get rid of manager mode for user domain 2015-08-21 13:55:52 +01:00
unwind.c
v7m.c
vdso.c
vmlinux.lds.S
xscale-cp0.c