summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/smp.c
diff options
context:
space:
mode:
authorNathan Lynch <ntl@pobox.com>2008-12-10 15:28:41 +0100
committerPaul Mackerras <paulus@samba.org>2008-12-16 05:53:05 +0100
commit13a9801eb669d567ab2c8f8db5e50557fef5f636 (patch)
tree068889192a31708cb09805aca282e39635bddda9 /arch/powerpc/kernel/smp.c
parentpowerpc: Remove `have_of' global variable (diff)
downloadlinux-13a9801eb669d567ab2c8f8db5e50557fef5f636.tar.xz
linux-13a9801eb669d567ab2c8f8db5e50557fef5f636.zip
powerpc: Move smp_hw_index to 32-bit code
smp_hw_index isn't used on 64-bit, so move it from smp.c to setup_32.c. Signed-off-by: Nathan Lynch <ntl@pobox.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/smp.c')
-rw-r--r--arch/powerpc/kernel/smp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index a59d8d72bb97..ffcb1779a220 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -57,7 +57,6 @@
#define DBG(fmt...)
#endif
-int smp_hw_index[NR_CPUS];
struct thread_info *secondary_ti;
cpumask_t cpu_possible_map = CPU_MASK_NONE;