From b9e55bb180a44f990e201c771c103469f6fb08ca Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 23 Apr 2000 06:12:14 +0000 Subject: Change all instances of __SMP__ to CONFIG_SMP and include where necessary. --- include/asm-mips64/system.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/asm-mips64/system.h') diff --git a/include/asm-mips64/system.h b/include/asm-mips64/system.h index e70c6141b..7f518a8b8 100644 --- a/include/asm-mips64/system.h +++ b/include/asm-mips64/system.h @@ -11,6 +11,8 @@ #ifndef _ASM_SYSTEM_H #define _ASM_SYSTEM_H +#include + #include #include @@ -105,7 +107,7 @@ __restore_flags(int flags) : "$8", "$9", "memory"); } -#ifdef __SMP__ +#ifdef CONFIG_SMP extern void __global_cli(void); extern void __global_sti(void); @@ -125,7 +127,7 @@ extern void __global_restore_flags(unsigned long); #define restore_flags(x) __restore_flags(x) #define save_and_cli(x) __save_and_cli(x) -#endif /* __SMP__ */ +#endif /* CONFIG_SMP */ /* For spinlocks etc */ #define local_irq_save(x) __save_and_cli(x); -- cgit v1.2.3