patch-2.3.99-pre3 linux/include/asm-mips/smplock.h
Next file: linux/include/asm-ppc/elf.h
Previous file: linux/include/asm-m68k/smplock.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Mar 23 12:50:09 2000
- Orig file:
v2.3.99-pre2/linux/include/asm-mips/smplock.h
- Orig date:
Sat Feb 26 22:31:56 2000
diff -u --recursive --new-file v2.3.99-pre2/linux/include/asm-mips/smplock.h linux/include/asm-mips/smplock.h
@@ -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
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)