From 6849dcb261e849b6d1503df564f8e27708844bda Mon Sep 17 00:00:00 2001 From: Kanoj Sarcar Date: Mon, 17 Jul 2000 02:46:41 +0000 Subject: Fix a (harmless) typo in the SMP save_and_cli definition. Also, mark the irqlock as not held by anyone initially. This allows SMP kernels to boot up. --- include/asm-mips64/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asm-mips64/system.h') diff --git a/include/asm-mips64/system.h b/include/asm-mips64/system.h index 3592b3821..47e90aec4 100644 --- a/include/asm-mips64/system.h +++ b/include/asm-mips64/system.h @@ -117,7 +117,7 @@ extern void __global_restore_flags(unsigned long); #define sti() __global_sti() #define save_flags(x) ((x)=__global_save_flags()) #define restore_flags(x) __global_restore_flags(x) -#define save_and_cli(x) do { save_flags(flags); cli(); } while(0) +#define save_and_cli(x) do { save_flags(x); cli(); } while(0) #else -- cgit v1.2.3