diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-03-27 23:54:12 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-03-27 23:54:12 +0000 |
commit | d3e71cb08747743fce908122bab08b479eb403a5 (patch) | |
tree | cbec6948fdbdee9af81cf3ecfb504070d2745d7b /include/asm-mips | |
parent | fe7ff1706e323d0e5ed83972960a1ecc1ee538b3 (diff) |
Merge with Linux 2.3.99-pre3.
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/smplock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-mips/smplock.h b/include/asm-mips/smplock.h index 67a4bb617..188c4b4c9 100644 --- a/include/asm-mips/smplock.h +++ b/include/asm-mips/smplock.h @@ -1,4 +1,4 @@ -/* $Id: smplock.h,v 1.1 1998/08/25 09:22:02 ralf Exp $ +/* $Id: smplock.h,v 1.2 1999/10/09 00:01:43 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 @@ -11,6 +11,8 @@ extern spinlock_t kernel_flag; +#define kernel_locked() spin_is_locked(&kernel_flag) + /* * Release global kernel lock and global interrupt lock */ |