diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-04-23 06:12:14 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-04-23 06:12:14 +0000 |
commit | b9e55bb180a44f990e201c771c103469f6fb08ca (patch) | |
tree | dcbec41543db290e07d5b2723c611d5ebf9c0fac /include/asm-mips64/processor.h | |
parent | c4ca763cc6ffd1ffef022766dde60487e42f17ae (diff) |
Change all instances of __SMP__ to CONFIG_SMP and include
<linux/config.h> where necessary.
Diffstat (limited to 'include/asm-mips64/processor.h')
-rw-r--r-- | include/asm-mips64/processor.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-mips64/processor.h b/include/asm-mips64/processor.h index 76611f07d..0532dbf0c 100644 --- a/include/asm-mips64/processor.h +++ b/include/asm-mips64/processor.h @@ -12,6 +12,8 @@ #ifndef _ASM_PROCESSOR_H #define _ASM_PROCESSOR_H +#include <linux/config.h> + /* * Default implementation of macro that returns current * instruction pointer ("program counter"). @@ -19,7 +21,6 @@ #define current_text_addr() ({ __label__ _l; _l: &&_l;}) #if !defined (_LANGUAGE_ASSEMBLY) -#include <linux/config.h> #include <asm/cachectl.h> #include <asm/mipsregs.h> #include <asm/reg.h> @@ -60,7 +61,7 @@ extern char mips4_available; /* CPU has MIPS IV ISA or better */ extern unsigned int vced_count, vcei_count; extern struct cpuinfo_mips cpu_data[]; -#ifdef __SMP__ +#ifdef CONFIG_SMP #define current_cpu_data cpu_data[smp_processor_id()] #else #define current_cpu_data cpu_data[0] |