lkml.org 
[lkml]   [2001]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] 2.4.13-ac4: panic.c compile fix
From
Date
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

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:11    [W:0.026 / U:5.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site