From 0a20dc624ae03f1acb9e72b704907f3b5c79cff9 Mon Sep 17 00:00:00 2001 From: Kanoj Sarcar Date: Thu, 27 Jan 2000 07:48:08 +0000 Subject: Lets really disable interrupts when we want to. --- include/asm-mips64/system.h | 4 ++-- 1 file changed, 2 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 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(); -- cgit v1.2.3