Re: [PATCH 2/3] x86: Unify and fix init sp0

2015-03-11 Thread Borislav Petkov
On Tue, Mar 10, 2015 at 11:05:59AM -0700, Andy Lutomirski wrote: > x86_32 and x86_64 need slightly different sp0 values, and x86_32's was > incorrect for init. (This never mattered -- the init thread never > runs user code, so we never used sp0 for anything.) Damn old x86 cruft - sp0 is the

Re: [PATCH 2/3] x86: Unify and fix init sp0

2015-03-11 Thread Borislav Petkov
On Tue, Mar 10, 2015 at 11:05:59AM -0700, Andy Lutomirski wrote: x86_32 and x86_64 need slightly different sp0 values, and x86_32's was incorrect for init. (This never mattered -- the init thread never runs user code, so we never used sp0 for anything.) Damn old x86 cruft - sp0 is the stack

[PATCH 2/3] x86: Unify and fix init sp0

2015-03-10 Thread Andy Lutomirski
x86_32 and x86_64 need slightly different sp0 values, and x86_32's was incorrect for init. (This never mattered -- the init thread never runs user code, so we never used sp0 for anything.) Fix it and mostly unify them. Signed-off-by: Andy Lutomirski --- arch/x86/include/asm/processor.h | 7

[PATCH 2/3] x86: Unify and fix init sp0

2015-03-10 Thread Andy Lutomirski
x86_32 and x86_64 need slightly different sp0 values, and x86_32's was incorrect for init. (This never mattered -- the init thread never runs user code, so we never used sp0 for anything.) Fix it and mostly unify them. Signed-off-by: Andy Lutomirski l...@amacapital.net ---