patch-2.4.1 linux/include/asm-ppc/smplock.h
Next file: linux/include/asm-ppc/termios.h
Previous file: linux/include/asm-ppc/smp.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Jan 22 15:41:15 2001
- Orig file:
v2.4.0/linux/include/asm-ppc/smplock.h
- Orig date:
Sat Nov 11 18:23:11 2000
diff -u --recursive --new-file v2.4.0/linux/include/asm-ppc/smplock.h linux/include/asm-ppc/smplock.h
@@ -39,13 +39,13 @@
* so we only need to worry about other
* CPU's.
*/
-extern __inline__ void lock_kernel(void)
+static __inline__ void lock_kernel(void)
{
if (!++current->lock_depth)
spin_lock(&kernel_flag);
}
-extern __inline__ void unlock_kernel(void)
+static __inline__ void unlock_kernel(void)
{
if (--current->lock_depth < 0)
spin_unlock(&kernel_flag);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)