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
- Lines: 9
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/arch/sparc/kernel/devices.c
- Orig date:
2002-11-28 15:53:12.000000000 -0800
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)