summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/system.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
commitd8d9b8f76f22b7a16a83e261e64f89ee611f49df (patch)
tree3067bc130b80d52808e6390c9fc7fc087ec1e33c /include/asm-i386/system.h
parent19c9bba94152148523ba0f7ef7cffe3d45656b11 (diff)
Initial revision
Diffstat (limited to 'include/asm-i386/system.h')
-rw-r--r--include/asm-i386/system.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-i386/system.h b/include/asm-i386/system.h
index a3daf450d..94e01ec2a 100644
--- a/include/asm-i386/system.h
+++ b/include/asm-i386/system.h
@@ -73,7 +73,6 @@ __asm__("str %%ax\n\t" \
__asm__ __volatile__("fwait"); \
prev->flags&=~PF_USEDFPU; \
} \
- current_set[this_cpu] = next; \
__asm__("ljmp %0\n\t" \
: /* no output */ \
:"m" (*(((char *)&next->tss.tr)-4)), \
@@ -91,8 +90,7 @@ __asm__("ljmp %0\n\t" \
#else
#define switch_to(prev,next) do { \
-__asm__("movl %2,"SYMBOL_NAME_STR(current_set)"\n\t" \
- "ljmp %0\n\t" \
+__asm__("ljmp %0\n\t" \
"cmpl %1,"SYMBOL_NAME_STR(last_task_used_math)"\n\t" \
"jne 1f\n\t" \
"clts\n" \