lkml.org 
[lkml]   [2011]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 04/49] avr32: irq: Remove IRQF_DISABLED
    Date
    Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled],
    We run all interrupt handlers with interrupts disabled
    and we even check and yell when an interrupt handler
    returns with interrupts enabled (see commit [b738a50a:
    genirq: Warn when handler enables interrupts]).

    So now this flag is a NOOP and can be removed.

    Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
    Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
    ---
    arch/avr32/kernel/time.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/arch/avr32/kernel/time.c b/arch/avr32/kernel/time.c
    index 05ad291..cfc9778 100644
    --- a/arch/avr32/kernel/time.c
    +++ b/arch/avr32/kernel/time.c
    @@ -58,7 +58,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
    static struct irqaction timer_irqaction = {
    .handler = timer_interrupt,
    /* Oprofile uses the same irq as the timer, so allow it to be shared */
    - .flags = IRQF_TIMER | IRQF_DISABLED | IRQF_SHARED,
    + .flags = IRQF_TIMER | IRQF_SHARED,
    .name = "avr32_comparator",
    };

    --
    1.7.1


    \
     
     \ /
      Last update: 2011-10-22 12:01    [W:0.018 / U:0.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site