diff options
author | Andy Lutomirski <luto@kernel.org> | 2017-11-02 00:59:15 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-11-02 11:04:47 +0100 |
commit | cd493a6deb8b78eca280d05f7fa73fd69403ae29 (patch) | |
tree | 4735335d76295e8917e9f81e53ccb16dd789dce4 /arch/x86/include/asm/processor.h | |
parent | 46f5a10a721ce8dce8cc8fe55279b49e1c6b3288 (diff) | |
download | lwn-cd493a6deb8b78eca280d05f7fa73fd69403ae29.tar.gz lwn-cd493a6deb8b78eca280d05f7fa73fd69403ae29.zip |
x86/entry/32: Fix cpu_current_top_of_stack initialization at boot
cpu_current_top_of_stack's initialization forgot about
TOP_OF_KERNEL_STACK_PADDING. This bug didn't matter because the
idle threads never enter user mode.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Cc: Borislav Petkov <bpetkov@suse.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/e5e370a7e6e4fddd1c4e4cf619765d96bb874b21.1509609304.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions