提交 39a17940 编写于 作者: T Thomas Gleixner 提交者: Greg Ungerer

m68knommu: Convert 68328 ints irq_chip to new functions

Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
上级 f80c353c
......@@ -135,20 +135,20 @@ void process_int(int vec, struct pt_regs *fp)
}
}
static void intc_irq_unmask(unsigned int irq)
static void intc_irq_unmask(struct irq_data *d)
{
IMR &= ~(1<<irq);
IMR &= ~(1 << d->irq);
}
static void intc_irq_mask(unsigned int irq)
static void intc_irq_mask(struct irq_data *d)
{
IMR |= (1<<irq);
IMR |= (1 << d->irq);
}
static struct irq_chip intc_irq_chip = {
.name = "M68K-INTC",
.mask = intc_irq_mask,
.unmask = intc_irq_unmask,
.irq_mask = intc_irq_mask,
.irq_unmask = intc_irq_unmask,
};
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册