summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/smplock.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-03-27 23:54:12 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-03-27 23:54:12 +0000
commitd3e71cb08747743fce908122bab08b479eb403a5 (patch)
treecbec6948fdbdee9af81cf3ecfb504070d2745d7b /include/asm-m68k/smplock.h
parentfe7ff1706e323d0e5ed83972960a1ecc1ee538b3 (diff)
Merge with Linux 2.3.99-pre3.
Diffstat (limited to 'include/asm-m68k/smplock.h')
-rw-r--r--include/asm-m68k/smplock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-m68k/smplock.h b/include/asm-m68k/smplock.h
index 1590fafe9..96565069c 100644
--- a/include/asm-m68k/smplock.h
+++ b/include/asm-m68k/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
*/