提交 81bab4c3 编写于 作者: R 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: NToralf Foester <toralf.foerster@gmx.de>
Signed-off-by: NRichard Weinberger <richard@nod.at>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册