From: Andy Lutomirski Date: Tue, 10 Mar 2015 18:05:59 +0000 (-0700) Subject: x86/asm/entry: Unify and fix initial thread_struct::sp0 values X-Git-Tag: omap-for-v4.2/o2_dc~185^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9e05cc5a53246e074dc2b84956252e4bbe392cd;p=pandora-kernel.git x86/asm/entry: Unify and fix initial thread_struct::sp0 values x86_32 and x86_64 need slightly different thread_struct::sp0 values, and x86_32's was incorrect for init. This never mattered -- the init thread never runs user code, so we never used thread_struct::sp0 for anything. Fix it and mostly unify them. Signed-off-by: Andy Lutomirski Cc: Borislav Petkov Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Oleg Nesterov Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/1b810c1d2e797e27bb4a7708c426101161edd1f6.1426009661.git.luto@amacapital.net Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed