[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 <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>
This commit is contained in:
Heiko Carstens 2009-03-31 19:13:13 +02:00 committed by Martin Schwidefsky
parent 15f7176eb1
commit 5886cea45d
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
#include <linux/vt_kern.h> #include <linux/vt_kern.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/kexec.h> #include <linux/kexec.h>
#include <linux/irq.h> #include <linux/interrupt.h>
#include <linux/hrtimer.h> #include <linux/hrtimer.h>
#include <linux/oom.h> #include <linux/oom.h>