From: Heiko Carstens Date: Tue, 31 Mar 2009 17:13:13 +0000 (+0200) Subject: [PATCH] sysrq: include interrupt.h instead of irq.h X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5886cea45d1b230f86fd24de708b0d9f14ff88db;p=linux-2.6-omap-h63xx.git [PATCH] sysrq: include interrupt.h instead of irq.h With "cpumask: update irq_desc to use cpumask_var_t" we get this build failure on s390: CC drivers/char/sysrq.o In file included from drivers/char/sysrq.c:38: include/linux/irq.h: In function 'init_alloc_desc_masks': include/linux/irq.h:442: error: dereferencing pointer to incomplete type drivers/char/sysrq.c should include interrupt.h instead of irq.h. Cc: Mike Travis Cc: Ingo Molnar Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c index 33a9351c896..3df694e5454 100644 --- a/drivers/char/sysrq.c +++ b/drivers/char/sysrq.c @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include