lkml.org 
[lkml]   [2011]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 33/57] infiniband: irq: Remove IRQF_DISABLED
    Date
    Since commit [c58543c8: 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>
    ---
    drivers/infiniband/hw/ehca/ehca_eq.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/infiniband/hw/ehca/ehca_eq.c b/drivers/infiniband/hw/ehca/ehca_eq.c
    index d9b1bb4..818d721 100644
    --- a/drivers/infiniband/hw/ehca/ehca_eq.c
    +++ b/drivers/infiniband/hw/ehca/ehca_eq.c
    @@ -125,7 +125,7 @@ int ehca_create_eq(struct ehca_shca *shca,
    tasklet_init(&eq->interrupt_task, ehca_tasklet_eq, (long)shca);

    ret = ibmebus_request_irq(eq->ist, ehca_interrupt_eq,
    - IRQF_DISABLED, "ehca_eq",
    + 0, "ehca_eq",
    (void *)shca);
    if (ret < 0)
    ehca_err(ib_dev, "Can't map interrupt handler.");
    @@ -133,7 +133,7 @@ int ehca_create_eq(struct ehca_shca *shca,
    tasklet_init(&eq->interrupt_task, ehca_tasklet_neq, (long)shca);

    ret = ibmebus_request_irq(eq->ist, ehca_interrupt_neq,
    - IRQF_DISABLED, "ehca_neq",
    + 0, "ehca_neq",
    (void *)shca);
    if (ret < 0)
    ehca_err(ib_dev, "Can't map interrupt handler.");
    --
    1.7.4.1


    \
     
     \ /
      Last update: 2011-09-21 11:37    [W:0.021 / U:2.728 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site