public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.2.21 crash on boot fix.
@ 2002-03-14 14:49 Dave Jones
  0 siblings, 0 replies; only message in thread
From: Dave Jones @ 2002-03-14 14:49 UTC (permalink / raw)
  To: Alan Cox; +Cc: Linux Kernel

 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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-14 14:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-14 14:49 2.2.21 crash on boot fix Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox