diff options
Diffstat (limited to 'arch/x86/kernel/process_64.c')
-rw-r--r-- | arch/x86/kernel/process_64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index e34257c70c28..292da13fc5aa 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <asm/system.h> | 43 | #include <asm/system.h> |
44 | #include <asm/processor.h> | 44 | #include <asm/processor.h> |
45 | #include <asm/i387.h> | 45 | #include <asm/i387.h> |
46 | #include <asm/fpu-internal.h> | ||
46 | #include <asm/mmu_context.h> | 47 | #include <asm/mmu_context.h> |
47 | #include <asm/prctl.h> | 48 | #include <asm/prctl.h> |
48 | #include <asm/desc.h> | 49 | #include <asm/desc.h> |
@@ -340,6 +341,7 @@ start_thread_common(struct pt_regs *regs, unsigned long new_ip, | |||
340 | loadsegment(es, _ds); | 341 | loadsegment(es, _ds); |
341 | loadsegment(ds, _ds); | 342 | loadsegment(ds, _ds); |
342 | load_gs_index(0); | 343 | load_gs_index(0); |
344 | current->thread.usersp = new_sp; | ||
343 | regs->ip = new_ip; | 345 | regs->ip = new_ip; |
344 | regs->sp = new_sp; | 346 | regs->sp = new_sp; |
345 | percpu_write(old_rsp, new_sp); | 347 | percpu_write(old_rsp, new_sp); |