Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Fri, 29 Aug 2003 23:20:16 -0400 | From | Stephane Ouellette <> | Subject | [PATCH] 2.4.23-pre1 - Missing include in kernel/panic.c |
| |
Marcelo,
the following patch removes a compile warning because disable_console_blank() is used without a prototype.
Stephane Ouellette
--- linux-2.4.23-pre1-orig/kernel/panic.c Fri Aug 29 12:43:04 2003 +++ linux-2.4.23-pre1-fixed/kernel/panic.c Fri Aug 29 13:18:51 2003 @@ -16,6 +16,7 @@ #include <linux/init.h> #include <linux/sysrq.h> #include <linux/interrupt.h> +#include <linux/console.h> asmlinkage void sys_sync(void); /* it's really int */ | ![\](/images/icornerr.gif) |