All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.13-ac4: panic.c compile fix
@ 2001-10-28 21:12 Robert Love
  0 siblings, 0 replies; only message in thread
From: Robert Love @ 2001-10-28 21:12 UTC (permalink / raw)
  To: laughing; +Cc: linux-kernel

kernel/panic.c calls the new panic_blink (blink keybd leds) on panic if
__i386__ is defined.  however, panic_blink is only defined if keyboard
support is compiled in, and that is dependent on CONFIG_VT.  The
attached fixes the problem.  Alan, please apply.


diff -urN linux-2.4.13-ac2/kernel/panic.c linux/kernel/panic.c
--- linux-2.4.13-ac2/kernel/panic.c	Fri Oct 26 15:47:34 2001
+++ linux/kernel/panic.c	Fri Oct 26 23:05:41 2001
@@ -96,7 +96,7 @@
 #endif
 	sti();
 	for(;;) {
-#if defined(__i386__) 
+#if defined(__i386__) && defined(CONFIG_VT) 
 		extern void panic_blink(void);
 		panic_blink(); 
 #endif

	Robert Love


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

only message in thread, other threads:[~2001-10-28 21:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-28 21:12 [PATCH] 2.4.13-ac4: panic.c compile fix Robert Love

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.