patch-2.4.25 linux-2.4.25/include/asm-m68k/system.h

Next file: linux-2.4.25/include/asm-m68k/uaccess.h
Previous file: linux-2.4.25/include/asm-m68k/sun3mmu.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/asm-m68k/system.h linux-2.4.25/include/asm-m68k/system.h
@@ -10,6 +10,8 @@
 
 #define prepare_to_switch()	do { } while(0)
 
+#ifdef __KERNEL__
+
 /*
  * switch_to(n) should switch tasks to task ptr, first checking that
  * ptr isn't the current task, in which case it does nothing.  This
@@ -162,4 +164,6 @@
 }
 #endif
 
+#endif /* __KERNEL__ */
+
 #endif /* _M68K_SYSTEM_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)