From: Heiko Carstens <[email protected]>
[PATCH] sysrq: irq change build fix.
drivers/char/sysrq.c: In function `sysrq_handle_crashdump':
drivers/char/sysrq.c:98: warning: implicit declaration of function `get_irq_regs'
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
---
drivers/char/sysrq.c | 1 +
1 files changed, 1 insertion(+)
diff -urpN linux-2.6/drivers/char/sysrq.c linux-2.6-patched/drivers/char/sysrq.c
--- linux-2.6/drivers/char/sysrq.c 2006-10-06 16:29:28.000000000 +0200
+++ linux-2.6-patched/drivers/char/sysrq.c 2006-10-06 16:30:00.000000000 +0200
@@ -38,6 +38,7 @@
#include <linux/irq.h>
#include <asm/ptrace.h>
+#include <asm/irq_regs.h>
/* Whether we react on sysrq keys or just ignore them */
int sysrq_enabled = 1;