patch-2.4.20 linux-2.4.20/include/asm-parisc/smplock.h
Next file: linux-2.4.20/include/asm-parisc/socket.h
Previous file: linux-2.4.20/include/asm-parisc/smp.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/include/asm-parisc/smplock.h
- Orig date:
Tue Dec 5 12:29:39 2000
diff -urN linux-2.4.19/include/asm-parisc/smplock.h linux-2.4.20/include/asm-parisc/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
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)