diff options
Diffstat (limited to 'include/asm-i386/processor.h')
-rw-r--r-- | include/asm-i386/processor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index 359f10b54f59..11bf899de8aa 100644 --- a/include/asm-i386/processor.h +++ b/include/asm-i386/processor.h | |||
@@ -424,7 +424,7 @@ struct thread_struct { | |||
424 | .vm86_info = NULL, \ | 424 | .vm86_info = NULL, \ |
425 | .sysenter_cs = __KERNEL_CS, \ | 425 | .sysenter_cs = __KERNEL_CS, \ |
426 | .io_bitmap_ptr = NULL, \ | 426 | .io_bitmap_ptr = NULL, \ |
427 | .gs = __KERNEL_PDA, \ | 427 | .fs = __KERNEL_PDA, \ |
428 | } | 428 | } |
429 | 429 | ||
430 | /* | 430 | /* |
@@ -442,8 +442,8 @@ struct thread_struct { | |||
442 | } | 442 | } |
443 | 443 | ||
444 | #define start_thread(regs, new_eip, new_esp) do { \ | 444 | #define start_thread(regs, new_eip, new_esp) do { \ |
445 | __asm__("movl %0,%%fs": :"r" (0)); \ | 445 | __asm__("movl %0,%%gs": :"r" (0)); \ |
446 | regs->xgs = 0; \ | 446 | regs->xfs = 0; \ |
447 | set_fs(USER_DS); \ | 447 | set_fs(USER_DS); \ |
448 | regs->xds = __USER_DS; \ | 448 | regs->xds = __USER_DS; \ |
449 | regs->xes = __USER_DS; \ | 449 | regs->xes = __USER_DS; \ |