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

Next file: linux/include/asm-m68k/unistd.h
Previous file: linux/include/asm-m68k/spinlock.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/include/asm-m68k/system.h linux/include/asm-m68k/system.h
@@ -5,16 +5,7 @@
 #include <linux/linkage.h>
 #include <asm/segment.h>
 
-extern inline unsigned long rdusp(void) {
-  	unsigned long usp;
-
-	__asm__ __volatile__("move %/usp,%0" : "=a" (usp));
-	return usp;
-}
-
-extern inline void wrusp(unsigned long usp) {
-	__asm__ __volatile__("move %0,%/usp" : : "a" (usp));
-}
+#define prepare_to_switch()	do { } while(0)
 
 /*
  * switch_to(n) should switch tasks to task ptr, first checking that

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