From: H. Peter Anvin Date: Wed, 30 Jan 2008 12:33:04 +0000 (+0100) Subject: x86 setup: guard the heap against invalid stack setups X-Git-Tag: v2.6.25-rc1~1143^2~324 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acd644bb4abb4d9f0ba6b9ec2b356263971ef9d0;p=pandora-kernel.git x86 setup: guard the heap against invalid stack setups If we use the bootloader-provided stack pointer, we might end up in a situation where the bootloader (incorrectly) pointed the stack in the middle of our heap. Catch this by simply comparing the computed heap end value to the stack pointer minus the defined stack size. Signed-off-by: H. Peter Anvin Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed