Skip to content

Commit

Permalink
frv: Convert cpu irq_chip to new functions
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: David Howells <[email protected]>
  • Loading branch information
KAGA-KOKO authored and dhowells committed Mar 29, 2011
1 parent a4b48a4 commit 1251646
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions arch/frv/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,35 +95,35 @@ int show_interrupts(struct seq_file *p, void *v)
/*
* on-CPU PIC operations
*/
static void frv_cpupic_ack(unsigned int irqlevel)
static void frv_cpupic_ack(struct irq_data *d)
{
__clr_RC(irqlevel);
__clr_RC(d->irq);
__clr_IRL();
}

static void frv_cpupic_mask(unsigned int irqlevel)
static void frv_cpupic_mask(struct irq_data *d)
{
__set_MASK(irqlevel);
__set_MASK(d->irq);
}

static void frv_cpupic_mask_ack(unsigned int irqlevel)
static void frv_cpupic_mask_ack(struct irq_data *d)
{
__set_MASK(irqlevel);
__clr_RC(irqlevel);
__set_MASK(d->irq);
__clr_RC(d->irq);
__clr_IRL();
}

static void frv_cpupic_unmask(unsigned int irqlevel)
static void frv_cpupic_unmask(struct irq_data *d)
{
__clr_MASK(irqlevel);
__clr_MASK(d->irq);
}

static struct irq_chip frv_cpu_pic = {
.name = "cpu",
.ack = frv_cpupic_ack,
.mask = frv_cpupic_mask,
.mask_ack = frv_cpupic_mask_ack,
.unmask = frv_cpupic_unmask,
.irq_ack = frv_cpupic_ack,
.irq_mask = frv_cpupic_mask,
.irq_mask_ack = frv_cpupic_mask_ack,
.irq_unmask = frv_cpupic_unmask,
};

/*
Expand Down

0 comments on commit 1251646

Please sign in to comment.