diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-02-01 13:52:33 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-01 16:17:06 -0800 |
commit | b4cff8464b12b71fd6573c9b9dd762d2d390ef6c (patch) | |
tree | 7f7e5e668697c1c6088505c5a62a1e0e478be83a /arch/sparc/kernel/sun4d_smp.c | |
parent | 472ba91dd9ce76b586d4d513f7e3448330eec7eb (diff) | |
download | linux-b4cff8464b12b71fd6573c9b9dd762d2d390ef6c.tar.gz linux-b4cff8464b12b71fd6573c9b9dd762d2d390ef6c.tar.bz2 linux-b4cff8464b12b71fd6573c9b9dd762d2d390ef6c.zip |
[PATCH] sanitize sections for sparc32 smp
a) sun4d_boot_one_cpu() should be __cpuinit (called only from
__cpuinit __cpu_up(), for one thing, leads to calls of __cpuinit
functions for another).
b) got externs in arch/sparc/kernel/smp.c to match reality.
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/sun4d_smp.c')
-rw-r--r-- | arch/sparc/kernel/sun4d_smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/sun4d_smp.c b/arch/sparc/kernel/sun4d_smp.c index c80ea61e8ba0..c69de5d4863d 100644 --- a/arch/sparc/kernel/sun4d_smp.c +++ b/arch/sparc/kernel/sun4d_smp.c @@ -164,7 +164,7 @@ void __init smp4d_boot_cpus(void) local_flush_cache_all(); } -int smp4d_boot_one_cpu(int i) +int __cpuinit smp4d_boot_one_cpu(int i) { extern unsigned long sun4d_cpu_startup; unsigned long *entry = &sun4d_cpu_startup; |