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

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