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

Next file: linux/include/asm-alpha/uaccess.h
Previous file: linux/include/asm-alpha/string.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/include/asm-alpha/system.h linux/include/asm-alpha/system.h
@@ -88,11 +88,12 @@
 
 extern void halt(void) __attribute__((noreturn));
 
+#define prepare_to_switch()	do { } while(0)
 #define switch_to(prev,next,last)			\
 do {							\
 	unsigned long pcbb;				\
 	current = (next);				\
-	pcbb = virt_to_phys(&current->tss);		\
+	pcbb = virt_to_phys(&current->thread);		\
 	(last) = alpha_switch_to(pcbb, (prev));		\
 } while (0)
 

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