patch-2.3.31 linux/kernel/capability.c
Next file: linux/mm/memory.c
Previous file: linux/kernel/acct.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Tue Dec  7 17:09:12 1999
-  Orig file: 
v2.3.30/linux/kernel/capability.c
-  Orig date: 
Thu Aug 26 13:05:42 1999
diff -u --recursive --new-file v2.3.30/linux/kernel/capability.c linux/kernel/capability.c
@@ -9,7 +9,7 @@
 #include <asm/uaccess.h>
 
 /* Note: never hold tasklist_lock while spinning for this one */
-spinlock_t task_capability_lock;
+spinlock_t task_capability_lock = SPIN_LOCK_UNLOCKED;
 
 /*
  * For sys_getproccap() and sys_setproccap(), any of the three
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)