Messages in this thread | | | Date | Wed, 11 Mar 2015 12:21:07 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH 2/3] x86: Unify and fix init sp0 |
| |
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 pointer for CPL0 in the TSS. Had to go dig that out.
> Fix it and mostly unify them. > > Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Acked-by: Borislav Petkov <bp@suse.de>
-- Regards/Gruss, Boris.
ECO tip #101: Trim your mails when you reply. --
| |