diff options
Diffstat (limited to 'arch/i386/kernel/head.S')
-rw-r--r-- | arch/i386/kernel/head.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/i386/kernel/head.S b/arch/i386/kernel/head.S index cb9abdfced9b..15336c8b5960 100644 --- a/arch/i386/kernel/head.S +++ b/arch/i386/kernel/head.S | |||
@@ -319,12 +319,12 @@ is386: movl $2,%ecx # set MP | |||
319 | movl %eax,%ds | 319 | movl %eax,%ds |
320 | movl %eax,%es | 320 | movl %eax,%es |
321 | 321 | ||
322 | xorl %eax,%eax # Clear FS and LDT | 322 | xorl %eax,%eax # Clear GS and LDT |
323 | movl %eax,%fs | 323 | movl %eax,%gs |
324 | lldt %ax | 324 | lldt %ax |
325 | 325 | ||
326 | movl $(__KERNEL_PDA),%eax | 326 | movl $(__KERNEL_PDA),%eax |
327 | mov %eax,%gs | 327 | mov %eax,%fs |
328 | 328 | ||
329 | cld # gcc2 wants the direction flag cleared at all times | 329 | cld # gcc2 wants the direction flag cleared at all times |
330 | pushl $0 # fake return address for unwinder | 330 | pushl $0 # fake return address for unwinder |