patch-2.3.99-pre7 linux/include/asm-mips/processor.h
Next file: linux/include/asm-mips64/atomic.h
Previous file: linux/include/asm-mips/pgalloc.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon May 8 22:00:01 2000
- Orig file:
v2.3.99-pre6/linux/include/asm-mips/processor.h
- Orig date:
Sat Feb 26 22:31:56 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/include/asm-mips/processor.h linux/include/asm-mips/processor.h
@@ -14,6 +14,8 @@
#include <asm/isadep.h>
+#include <linux/config.h>
+
/*
* Default implementation of macro that returns current
* instruction pointer ("program counter").
@@ -45,7 +47,7 @@
extern struct mips_cpuinfo boot_cpu_data;
extern unsigned int vced_count, vcei_count;
-#ifdef __SMP__
+#ifdef CONFIG_SMP
extern struct mips_cpuinfo cpu_data[];
#define current_cpu_data cpu_data[smp_processor_id()]
#else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)