diff options
author | Richard Weinberger <richard@nod.at> | 2013-09-02 22:49:22 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2013-09-07 10:57:19 +0200 |
commit | 81bab4c38ad59b35d1bea2a96ce6bc90570b1392 (patch) | |
tree | 9fc179f8e6a48f44a4c9b37f5c382b79d2d7e90f /arch/um/kernel/irq.c | |
parent | um: prctl: Do not include linux/ptrace.h (diff) | |
download | linux-81bab4c38ad59b35d1bea2a96ce6bc90570b1392.tar.xz linux-81bab4c38ad59b35d1bea2a96ce6bc90570b1392.zip |
um: Add irq chip um/mask handlers
These handlers are not optional and need in our case
dummy implementions to avoid NULL pointer bugs within
the irq core code.
Reported-and-tested-by: Toralf Foester <toralf.foerster@gmx.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel/irq.c')
-rw-r--r-- | arch/um/kernel/irq.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/um/kernel/irq.c b/arch/um/kernel/irq.c index 36e12f0cefd5..1d8505b1e290 100644 --- a/arch/um/kernel/irq.c +++ b/arch/um/kernel/irq.c @@ -337,6 +337,8 @@ static struct irq_chip normal_irq_type = { .irq_disable = dummy, .irq_enable = dummy, .irq_ack = dummy, + .irq_mask = dummy, + .irq_unmask = dummy, }; static struct irq_chip SIGVTALRM_irq_type = { @@ -344,6 +346,8 @@ static struct irq_chip SIGVTALRM_irq_type = { .irq_disable = dummy, .irq_enable = dummy, .irq_ack = dummy, + .irq_mask = dummy, + .irq_unmask = dummy, }; void __init init_IRQ(void) |