powerpc: Move smp_hw_index to 32-bit code
authorNathan Lynch <ntl@pobox.com>
Wed, 10 Dec 2008 14:28:41 +0000 (14:28 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 16 Dec 2008 04:53:05 +0000 (15:53 +1100)
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>
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/smp.c

index cc4679ed95276200117dae65c740f29c066ac245..086c23c1ee5e9395db3f26ca4b80fe99324e72c3 100644 (file)
@@ -49,6 +49,8 @@ int boot_cpuid;
 EXPORT_SYMBOL_GPL(boot_cpuid);
 int boot_cpuid_phys;
 
+int smp_hw_index[NR_CPUS];
+
 unsigned long ISA_DMA_THRESHOLD;
 unsigned int DMA_MODE_READ;
 unsigned int DMA_MODE_WRITE;
index a59d8d72bb97c0c7553e4e947f325b956556c8b4..ffcb1779a220ce26fba5277beff323e80ada5e37 100644 (file)
@@ -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;