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
- Lines: 11
- Date:
Thu Feb 6 14:42:35 1997
- Orig file:
v2.1.25/linux/include/asm-alpha/system.h
- Orig date:
Wed Aug 21 09:12:49 1996
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) ¤t->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