]> git.karo-electronics.de Git - karo-tx-linux.git/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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Nov 2007 16:22:58 +0000 (08:22 -0800)
commit430bb2ee8d136eae9d5641a23e44c791b6d747f0
treed408542c7155f80c751e49af610867be4b47f650
parent4b69ffe37490d0507375fbe31be833310f883a24
x86 setup: handle boot loaders which set up the stack incorrectly

patch 6b6815c6d5d1dc209701d1661a7a0e09a295db2f in mainline.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/i386/boot/boot.h
arch/i386/boot/header.S