patch-2.4.20 linux-2.4.20/include/asm-ppc64/smplock.h
Next file: linux-2.4.20/include/asm-ppc64/softirq.h
Previous file: linux-2.4.20/include/asm-ppc64/siginfo.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/include/asm-ppc64/smplock.h
- Orig date:
Fri Aug 2 17:39:45 2002
diff -urN linux-2.4.19/include/asm-ppc64/smplock.h linux-2.4.20/include/asm-ppc64/smplock.h
@@ -43,13 +43,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)