lkml.org 
[lkml]   [2007]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 5/7] Add IRQF_IRQPOLL_IRQ flag on sh
    Add IRQF_IRQPOLL_IRQ on each timer interrupt on SH2.

    Signed-off-by: Bernhard Walle <bwalle@suse.de>
    ---
    arch/sh/kernel/timers/timer-cmt.c | 2 +-
    arch/sh/kernel/timers/timer-mtu2.c | 2 +-
    arch/sh/kernel/timers/timer-tmu.c | 2 +-
    3 files changed, 3 insertions(+), 3 deletions(-)

    Index: linux-2.6.21-rc4-mm1/arch/sh/kernel/timers/timer-cmt.c
    ===================================================================
    --- linux-2.6.21-rc4-mm1.orig/arch/sh/kernel/timers/timer-cmt.c
    +++ linux-2.6.21-rc4-mm1/arch/sh/kernel/timers/timer-cmt.c
    @@ -115,7 +115,7 @@ static irqreturn_t cmt_timer_interrupt(i
    static struct irqaction cmt_irq = {
    .name = "timer",
    .handler = cmt_timer_interrupt,
    - .flags = IRQF_DISABLED | IRQF_TIMER,
    + .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL_IRQ,
    .mask = CPU_MASK_NONE,
    };

    Index: linux-2.6.21-rc4-mm1/arch/sh/kernel/timers/timer-mtu2.c
    ===================================================================
    --- linux-2.6.21-rc4-mm1.orig/arch/sh/kernel/timers/timer-mtu2.c
    +++ linux-2.6.21-rc4-mm1/arch/sh/kernel/timers/timer-mtu2.c
    @@ -110,7 +110,7 @@ static irqreturn_t mtu2_timer_interrupt(
    static struct irqaction mtu2_irq = {
    .name = "timer",
    .handler = mtu2_timer_interrupt,
    - .flags = IRQF_DISABLED | IRQF_TIMER,
    + .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL_IRQ,
    .mask = CPU_MASK_NONE,
    };

    Index: linux-2.6.21-rc4-mm1/arch/sh/kernel/timers/timer-tmu.c
    ===================================================================
    --- linux-2.6.21-rc4-mm1.orig/arch/sh/kernel/timers/timer-tmu.c
    +++ linux-2.6.21-rc4-mm1/arch/sh/kernel/timers/timer-tmu.c
    @@ -99,7 +99,7 @@ static irqreturn_t tmu_timer_interrupt(i
    static struct irqaction tmu_irq = {
    .name = "timer",
    .handler = tmu_timer_interrupt,
    - .flags = IRQF_DISABLED | IRQF_TIMER,
    + .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL_IRQ,
    .mask = CPU_MASK_NONE,
    };

    --
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-03-23 20:05    [W:0.021 / U:60.132 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site