Commit 81bab4c3 authored by Richard Weinberger's avatar Richard Weinberger

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: default avatarToralf Foester <toralf.foerster@gmx.de>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent b5c04da0
...@@ -337,6 +337,8 @@ static struct irq_chip normal_irq_type = { ...@@ -337,6 +337,8 @@ static struct irq_chip normal_irq_type = {
.irq_disable = dummy, .irq_disable = dummy,
.irq_enable = dummy, .irq_enable = dummy,
.irq_ack = dummy, .irq_ack = dummy,
.irq_mask = dummy,
.irq_unmask = dummy,
}; };
static struct irq_chip SIGVTALRM_irq_type = { static struct irq_chip SIGVTALRM_irq_type = {
...@@ -344,6 +346,8 @@ static struct irq_chip SIGVTALRM_irq_type = { ...@@ -344,6 +346,8 @@ static struct irq_chip SIGVTALRM_irq_type = {
.irq_disable = dummy, .irq_disable = dummy,
.irq_enable = dummy, .irq_enable = dummy,
.irq_ack = dummy, .irq_ack = dummy,
.irq_mask = dummy,
.irq_unmask = dummy,
}; };
void __init init_IRQ(void) void __init init_IRQ(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment