patch-1.3.5 linux/include/asm-i386/system.h

Next file: linux/include/asm-sparc/version.h
Previous file: linux/include/asm-i386/irq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.4/linux/include/asm-i386/system.h linux/include/asm-i386/system.h
@@ -49,10 +49,10 @@
  */
 #define switch_to(tsk) do { \
 __asm__("cli\n\t" \
-	"xchgl %%ecx,_current\n\t" \
+	"xchgl %%ecx,"SYMBOL_NAME_STR(current)"\n\t" \
 	"ljmp %0\n\t" \
 	"sti\n\t" \
-	"cmpl %%ecx,_last_task_used_math\n\t" \
+	"cmpl %%ecx,"SYMBOL_NAME_STR(last_task_used_math)"\n\t" \
 	"jne 1f\n\t" \
 	"clts\n" \
 	"1:" \

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