]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] sysrq: include interrupt.h instead of irq.h
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 31 Mar 2009 17:13:13 +0000 (19:13 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 31 Mar 2009 17:14:32 +0000 (19:14 +0200)
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 <travis@sgi.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/char/sysrq.c

index 33a9351c896dfbaff7dbf9afb5515d998bbb943e..3df694e545454228ee8b47e1a3b3dc4e61f9c43b 100644 (file)
@@ -35,7 +35,7 @@
 #include <linux/vt_kern.h>
 #include <linux/workqueue.h>
 #include <linux/kexec.h>
-#include <linux/irq.h>
+#include <linux/interrupt.h>
 #include <linux/hrtimer.h>
 #include <linux/oom.h>