patch-2.4.25 linux-2.4.25/include/asm-m68k/smplock.h
Next file: linux-2.4.25/include/asm-m68k/string.h
Previous file: linux-2.4.25/include/asm-m68k/signal.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/include/asm-m68k/smplock.h
- Orig date:
2000-03-23 12:50:09.000000000 -0800
diff -urN linux-2.4.24/include/asm-m68k/smplock.h linux-2.4.25/include/asm-m68k/smplock.h
@@ -38,13 +38,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)