Author: stepan Date: 2007-09-05 03:59:27 +0200 (Wed, 05 Sep 2007) New Revision: 491
Modified: LinuxBIOSv3/arch/x86/stage1.c Log: run_address gets called with entry=0. This patch fixes it.
Signed-off-by: Alex Beregszaszi alex@rtfs.hu Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: LinuxBIOSv3/arch/x86/stage1.c =================================================================== --- LinuxBIOSv3/arch/x86/stage1.c 2007-09-05 01:54:28 UTC (rev 490) +++ LinuxBIOSv3/arch/x86/stage1.c 2007-09-05 01:59:27 UTC (rev 491) @@ -189,7 +189,8 @@ entry = newentry; } printk(BIOS_SPEW, "all loaded, entry %p\n", entry); - run_address(entry); + if (entry) + run_address(entry);
die("FATAL: No usable payload found.\n");