patch-2.3.99-pre7 linux/arch/sparc64/kernel/setup.c
Next file: linux/arch/sparc64/kernel/sparc64_ksyms.c
Previous file: linux/arch/sparc64/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Mon May 8 22:00:01 2000
- Orig file:
v2.3.99-pre6/linux/arch/sparc64/kernel/setup.c
- Orig date:
Sun Mar 19 18:35:30 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/arch/sparc64/kernel/setup.c linux/arch/sparc64/kernel/setup.c
@@ -603,7 +603,7 @@
"type\t\t: sun4u\n"
"ncpus probed\t: %d\n"
"ncpus active\t: %d\n"
-#ifndef __SMP__
+#ifndef CONFIG_SMP
"BogoMips\t: %lu.%02lu\n"
#endif
,
@@ -611,15 +611,15 @@
sparc_fpu_type[cpuid],
prom_rev, prom_prev >> 16, (prom_prev >> 8) & 0xff, prom_prev & 0xff,
linux_num_cpus, smp_num_cpus
-#ifndef __SMP__
+#ifndef CONFIG_SMP
, loops_per_sec/500000, (loops_per_sec/5000) % 100
#endif
);
-#ifdef __SMP__
+#ifdef CONFIG_SMP
len += smp_bogo(buffer + len);
#endif
len += mmu_info(buffer + len);
-#ifdef __SMP__
+#ifdef CONFIG_SMP
len += smp_info(buffer + len);
#endif
#undef ZS_LOG
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)