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-generic | |
parent | fe7ff1706e323d0e5ed83972960a1ecc1ee538b3 (diff) |
Merge with Linux 2.3.99-pre3.
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/smplock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/smplock.h b/include/asm-generic/smplock.h index 1590fafe9..96565069c 100644 --- a/include/asm-generic/smplock.h +++ b/include/asm-generic/smplock.h @@ -8,6 +8,8 @@ extern spinlock_t kernel_flag; +#define kernel_locked() spin_is_locked(&kernel_flag) + /* * Release global kernel lock and global interrupt lock */ |