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

Next file: linux/include/asm-alpha/unistd.h
Previous file: linux/fs/super.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.70/linux/include/asm-alpha/system.h linux/include/asm-alpha/system.h
@@ -52,9 +52,9 @@
 
 #define halt() __asm__ __volatile__ ("call_pal %0" : : "i" (PAL_halt) : "memory")
 
-#define switch_to(p) do { \
-	current_set[0] = p; \
-	alpha_switch_to((unsigned long) &(p)->tss - 0xfffffc0000000000); \
+#define switch_to(prev,next) do { \
+	current_set[0] = next; \
+	alpha_switch_to((unsigned long) &(next)->tss - 0xfffffc0000000000); \
 } while (0)
 
 extern void alpha_switch_to(unsigned long pctxp);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this