patch-2.4.23 linux-2.4.23/arch/sparc/kernel/devices.c

Next file: linux-2.4.23/arch/sparc/kernel/sun4d_smp.c
Previous file: linux-2.4.23/arch/sparc/kernel/check_asm.sh
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/arch/sparc/kernel/devices.c linux-2.4.23/arch/sparc/kernel/devices.c
@@ -15,7 +15,7 @@
 #include <asm/smp.h>
 #include <asm/system.h>
 
-struct prom_cpuinfo linux_cpus[32];
+struct prom_cpuinfo linux_cpus[NR_CPUS];
 int linux_num_cpus = 0;
 
 extern void cpu_probe(void);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)