]> Pileus Git - ~andy/linux/blobdiff - arch/x86/kernel/process_64.c
Merge branches 'x86-cpu-for-linus', 'x86-boot-for-linus', 'x86-cpufeature-for-linus...
[~andy/linux] / arch / x86 / kernel / process_64.c
index e34257c70c28fef1cb0864d8530d2ef8e1d42234..442e7bfe10ae5ef2879374498e57026011e5a98f 100644 (file)
@@ -340,6 +340,7 @@ start_thread_common(struct pt_regs *regs, unsigned long new_ip,
        loadsegment(es, _ds);
        loadsegment(ds, _ds);
        load_gs_index(0);
+       current->thread.usersp  = new_sp;
        regs->ip                = new_ip;
        regs->sp                = new_sp;
        percpu_write(old_rsp, new_sp);