diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-01-12 01:05:39 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 09:08:51 -0800 |
commit | 57eafdc22c8e788859b67c2c7ac4d636716603a5 (patch) | |
tree | a85b01c191084bfc0809d8704e58c2602fa5fddd /arch/x86_64/kernel/smpboot.c | |
parent | bb049232fa8fe08c90b182f378eed5017da5235c (diff) | |
download | blackbird-op-linux-57eafdc22c8e788859b67c2c7ac4d636716603a5.tar.gz blackbird-op-linux-57eafdc22c8e788859b67c2c7ac4d636716603a5.zip |
[PATCH] amd64: task_stack_page()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/smpboot.c')
-rw-r--r-- | arch/x86_64/kernel/smpboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c index d16a2fae270a..a28756ef7cef 100644 --- a/arch/x86_64/kernel/smpboot.c +++ b/arch/x86_64/kernel/smpboot.c @@ -776,7 +776,7 @@ static int __cpuinit do_boot_cpu(int cpu, int apicid) if (c_idle.idle) { c_idle.idle->thread.rsp = (unsigned long) (((struct pt_regs *) - (THREAD_SIZE + (unsigned long) c_idle.idle->thread_info)) - 1); + (THREAD_SIZE + task_stack_page(c_idle.idle))) - 1); init_idle(c_idle.idle, cpu); goto do_rest; } |