Re: [PATCH 2/3] x86: Unify and fix init sp0
From: Borislav Petkov
Date: Wed Mar 11 2015 - 07:22:36 EST
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@xxxxxxxxxxxxxx>
Acked-by: Borislav Petkov <bp@xxxxxxx>
ECO tip #101: Trim your mails when you reply.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/