mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
m68knommu: Convert 68328 ints irq_chip to new functions
Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Greg Ungerer <[email protected]>
This commit is contained in:
parent
f80c353ce8
commit
39a17940ab
1 changed files with 6 additions and 6 deletions
|
|
@ -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,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue