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

Next file: linux/include/asm-i386/checksum.h
Previous file: linux/include/asm-alpha/current.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.25/linux/include/asm-alpha/system.h linux/include/asm-alpha/system.h
@@ -56,8 +56,8 @@
 #define halt() __asm__ __volatile__ ("call_pal %0" : : "i" (PAL_halt) : "memory")
 
 #define switch_to(prev,next) do { \
-	current_set[0] = next; \
-	alpha_switch_to((unsigned long) &(next)->tss - 0xfffffc0000000000); \
+	current_set[0] = current = next; \
+	alpha_switch_to((unsigned long) &current->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