From: Robert Love <rml@tech9.net>
To: laughing@shared-source.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.4.13-ac4: panic.c compile fix
Date: 28 Oct 2001 16:12:16 -0500 [thread overview]
Message-ID: <1004303536.866.2.camel@phantasy> (raw)
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
reply other threads:[~2001-10-28 21:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1004303536.866.2.camel@phantasy \
--to=rml@tech9.net \
--cc=laughing@shared-source.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.