diff options
author | Al Viro | 2008-11-22 18:33:54 +0100 |
---|---|---|
committer | Linus Torvalds | 2008-11-30 19:03:35 +0100 |
commit | 409832f5484cd1e2d8812c3236dffb33d01c359b (patch) | |
tree | 855b5e4cb8bc8c2120d43c3478f9e47696b84fb5 /arch/sparc/kernel/smp.c | |
parent | powerpc set_huge_psize() false positive (diff) | |
download | kernel-qcow2-linux-409832f5484cd1e2d8812c3236dffb33d01c359b.tar.gz kernel-qcow2-linux-409832f5484cd1e2d8812c3236dffb33d01c359b.tar.xz kernel-qcow2-linux-409832f5484cd1e2d8812c3236dffb33d01c359b.zip |
sparc32 cpuinit flase positives
All noise since we don't have CPU hotplug there. However, they
did expose something very odd-looking in there - poke_viking()
does a bunch of identical btfixup each time it's called (i.e.
for each CPU). That one is left alone for now; just the trivial
misannotation fixes.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sparc/kernel/smp.c')
-rw-r--r-- | arch/sparc/kernel/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/smp.c b/arch/sparc/kernel/smp.c index 1619ec15c099..e396c1f17a92 100644 --- a/arch/sparc/kernel/smp.c +++ b/arch/sparc/kernel/smp.c @@ -35,7 +35,7 @@ #include "irq.h" -volatile unsigned long cpu_callin_map[NR_CPUS] __initdata = {0,}; +volatile unsigned long cpu_callin_map[NR_CPUS] __cpuinitdata = {0,}; unsigned char boot_cpu_id = 0; unsigned char boot_cpu_id4 = 0; /* boot_cpu_id << 2 */ @@ -120,7 +120,7 @@ void cpu_panic(void) panic("SMP bolixed\n"); } -struct linux_prom_registers smp_penguin_ctable __initdata = { 0 }; +struct linux_prom_registers smp_penguin_ctable __cpuinitdata = { 0 }; void smp_send_reschedule(int cpu) { |