lkml.org 
[lkml]   [2011]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 40/55] dirvers/parisc: 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>
    ---
    drivers/parisc/superio.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/parisc/superio.c b/drivers/parisc/superio.c
    index e3b76d4..5e6fd94e 100644
    --- a/drivers/parisc/superio.c
    +++ b/drivers/parisc/superio.c
    @@ -274,7 +274,7 @@ superio_init(struct pci_dev *pcidev)
    else
    printk(KERN_ERR PFX "USB regulator not initialized!\n");

    - if (request_irq(pdev->irq, superio_interrupt, IRQF_DISABLED,
    + if (request_irq(pdev->irq, superio_interrupt, 0,
    SUPERIO, (void *)sio)) {

    printk(KERN_ERR PFX "could not get irq\n");
    --
    1.7.4.1


    \
     
     \ /
      Last update: 2011-09-22 11:07    [W:0.022 / U:32.000 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site