aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/entry.S')
-rw-r--r--arch/i386/kernel/entry.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/i386/kernel/entry.S b/arch/i386/kernel/entry.S
index b99d4a160078..d7423efaeea4 100644
--- a/arch/i386/kernel/entry.S
+++ b/arch/i386/kernel/entry.S
@@ -524,8 +524,7 @@ syscall_badsys:
524 524
525#define FIXUP_ESPFIX_STACK \ 525#define FIXUP_ESPFIX_STACK \
526 /* since we are on a wrong stack, we cant make it a C code :( */ \ 526 /* since we are on a wrong stack, we cant make it a C code :( */ \
527 GET_THREAD_INFO(%ebp); \ 527 movl %gs:PDA_cpu, %ebx; \
528 movl TI_cpu(%ebp), %ebx; \
529 PER_CPU(cpu_gdt_descr, %ebx); \ 528 PER_CPU(cpu_gdt_descr, %ebx); \
530 movl GDS_address(%ebx), %ebx; \ 529 movl GDS_address(%ebx), %ebx; \
531 GET_DESC_BASE(GDT_ENTRY_ESPFIX_SS, %ebx, %eax, %ax, %al, %ah); \ 530 GET_DESC_BASE(GDT_ENTRY_ESPFIX_SS, %ebx, %eax, %ax, %al, %ah); \