]> err.no Git - linux-2.6/commit
x86 setup: handle boot loaders which set up the stack incorrectly
authorH. Peter Anvin <hpa@zytor.com>
Thu, 25 Oct 2007 23:11:33 +0000 (16:11 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 26 Oct 2007 02:55:03 +0000 (19:55 -0700)
commit6b6815c6d5d1dc209701d1661a7a0e09a295db2f
tree9e1c07acbc4926279fcef068efb60141c6eed2af
parentc9927c2bf4f45bb85e8b502ab3fb79ad6483c244
x86 setup: handle boot loaders which set up the stack incorrectly

Apparently some specific versions of LILO enter the kernel with a
stack pointer that doesn't match the rest of the segments.  Make our
best attempt at untangling the resulting mess.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/boot/boot.h
arch/x86/boot/header.S