summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-01-27 07:48:08 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-01-27 07:48:08 +0000
commit0a20dc624ae03f1acb9e72b704907f3b5c79cff9 (patch)
tree94fbe7f8ba852f9fe1a574feb86d07b7f558ab14
parentd56661b837d4a93e7a594e7b418890c880f9408e (diff)
Lets really disable interrupts when we want to.
-rw-r--r--include/asm-mips64/system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips64/system.h b/include/asm-mips64/system.h
index 26b797da2..2d8559aee 100644
--- a/include/asm-mips64/system.h
+++ b/include/asm-mips64/system.h
@@ -1,4 +1,4 @@
-/* $Id: system.h,v 1.3 1999/11/17 22:48:12 ralf Exp $
+/* $Id: system.h,v 1.4 1999/12/04 03:59:12 ralf Exp $
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
@@ -115,7 +115,7 @@ __restore_flags(int flags)
#define restore_flags(x) __restore_flags(x)
/* For spinlocks etc */
-#define local_irq_save(x) __save_flags(x);
+#define local_irq_save(x) __save_and_cli(x);
#define local_irq_restore(x) __restore_flags(x);
#define local_irq_disable() __cli();
#define local_irq_enable() __sti();