[PATCH] sysrq: irq change build fix.

From: Martin Schwidefsky
Date: Fri Oct 06 2006 - 10:56:12 EST


From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>

[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 <heiko.carstens@xxxxxxxxxx>
Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
---

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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/