diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-07-17 02:46:41 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-07-17 02:46:41 +0000 |
commit | 6849dcb261e849b6d1503df564f8e27708844bda (patch) | |
tree | a03d16c25731dfd6cb78a36de578eacb4de073d9 /include/asm-mips64 | |
parent | f1da2c3860e301527d56a1ef0b56c649ee7c4b1b (diff) |
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.
Diffstat (limited to 'include/asm-mips64')
-rw-r--r-- | include/asm-mips64/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |