patch-2.1.104 linux/kernel/capability.c
Next file: linux/kernel/module.c
Previous file: linux/init/main.c
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Thu May 21 16:58:47 1998
-  Orig file: 
v2.1.103/linux/kernel/capability.c
-  Orig date: 
Fri May  8 23:14:57 1998
diff -u --recursive --new-file v2.1.103/linux/kernel/capability.c linux/kernel/capability.c
@@ -25,9 +25,7 @@
      copy_to_user(u, k, sizeof(*k));
 }
 
-#ifdef __SMP__
-static spinlock_t task_capability_lock;
-#endif
+spinlock_t task_capability_lock;
 
 /*
  * 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, slshen@lbl.gov