patch-2.4.15 linux/include/asm-ia64/smplock.h
Next file: linux/include/asm-ia64/spinlock.h
Previous file: linux/include/asm-ia64/smp.h
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Fri Nov 9 14:26:17 2001
- Orig file:
v2.4.14/linux/include/asm-ia64/smplock.h
- Orig date:
Thu Apr 5 12:51:47 2001
diff -u --recursive --new-file v2.4.14/linux/include/asm-ia64/smplock.h linux/include/asm-ia64/smplock.h
@@ -17,7 +17,7 @@
/*
* Release global kernel lock and global interrupt lock
*/
-static __inline__ void
+static __inline__ void
release_kernel_lock(struct task_struct *task, int cpu)
{
if (task->lock_depth >= 0)
@@ -29,7 +29,7 @@
/*
* Re-acquire the kernel lock
*/
-static __inline__ void
+static __inline__ void
reacquire_kernel_lock(struct task_struct *task)
{
if (task->lock_depth >= 0)
@@ -43,14 +43,14 @@
* so we only need to worry about other
* CPU's.
*/
-static __inline__ void
+static __inline__ void
lock_kernel(void)
{
if (!++current->lock_depth)
spin_lock(&kernel_flag);
}
-static __inline__ void
+static __inline__ void
unlock_kernel(void)
{
if (--current->lock_depth < 0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)