Skip to contentSkip to conversation

2.2.21 crash on boot fix.

PATCH Dave Jones 1 participant 1 message Mar 14, 2002

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

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

arch/i386/kernel/setup.c +1 -1
diff -urN --exclude-from=/home/davej/.exclude linux-rc1/arch/i386/kernel/setup.c linux-rc1-dj1/arch/i386/kernel/setup.c
@@ -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) {
Signature · 2 lines
Dave Jones.                    http://www.codemonkey.org.uk
SuSE Labs.