lkml.org 
[lkml]   [2011]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 06/10] m68knommu: Convert 68360 ints irq_chip to new functions
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ---
    arch/m68knommu/platform/68360/ints.c | 18 +++++++++---------
    1 file changed, 9 insertions(+), 9 deletions(-)

    Index: linux-next/arch/m68knommu/platform/68360/ints.c
    ===================================================================
    --- linux-next.orig/arch/m68knommu/platform/68360/ints.c
    +++ linux-next/arch/m68knommu/platform/68360/ints.c
    @@ -37,26 +37,26 @@ extern void *_ramvec[];
    /* The number of spurious interrupts */
    volatile unsigned int num_spurious;

    -static void intc_irq_unmask(unsigned int irq)
    +static void intc_irq_unmask(struct irq_data *d)
    {
    - pquicc->intr_cimr |= (1 << irq);
    + pquicc->intr_cimr |= (1 << d->irq);
    }

    -static void intc_irq_mask(unsigned int irq)
    +static void intc_irq_mask(struct irq_data *d)
    {
    - pquicc->intr_cimr &= ~(1 << irq);
    + pquicc->intr_cimr &= ~(1 << d->irq);
    }

    -static void intc_irq_ack(unsigned int irq)
    +static void intc_irq_ack(struct irq_data *d)
    {
    - pquicc->intr_cisr = (1 << irq);
    + pquicc->intr_cisr = (1 << d->irq);
    }

    static struct irq_chip intc_irq_chip = {
    .name = "M68K-INTC",
    - .mask = intc_irq_mask,
    - .unmask = intc_irq_unmask,
    - .ack = intc_irq_ack,
    + .irq_mask = intc_irq_mask,
    + .irq_unmask = intc_irq_unmask,
    + .irq_ack = intc_irq_ack,
    };

    /*



    \
     
     \ /
      Last update: 2011-02-07 00:41    [W:0.024 / U:149.160 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site