2.2.21 crash on boot fix.

Dave Jones (davej@suse.de)
Thu, 14 Mar 2002 14:49:53 +0000


Patch below fixes the crash-on-boot problem Leonard Zubkoff found.

diff -urN --exclude-from=/home/davej/.exclude linux-rc1/arch/i386/kernel/setup.c linux-rc1-dj1/arch/i386/kernel/setup.c
--- linux-rc1/arch/i386/kernel/setup.c Thu Mar 14 12:48:56 2002
+++ linux-rc1-dj1/arch/i386/kernel/setup.c Thu Mar 14 13:38:02 2002
@@ -1081,7 +1081,7 @@

static void __init init_intel(struct cpuinfo_x86 *c)
{
- char *p;
+ char *p = NULL;
unsigned int l1i = 0, l1d = 0, l2 = 0, l3 = 0; /* Cache sizes */

if (c->cpuid_level > 1) {

-- 
Dave Jones.                    http://www.codemonkey.org.uk
SuSE Labs.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/