watchdog: irq: Remove IRQF_DISABLED
authorYong Zhang <yong.zhang0@gmail.com>
Wed, 7 Sep 2011 08:10:55 +0000 (16:10 +0800)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 5 Nov 2011 20:16:15 +0000 (21:16 +0100)
This flag is a NOOP and can be removed now.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/coh901327_wdt.c
drivers/watchdog/eurotechwdt.c
drivers/watchdog/mpcore_wdt.c
drivers/watchdog/sb_wdog.c
drivers/watchdog/wdt.c
drivers/watchdog/wdt_pci.c

index 9291506b8b235012fd9825f42bc2c6dad6c26f1b..03f449a430d253ca997f0e84e721748707fb674f 100644 (file)
@@ -429,7 +429,7 @@ static int __init coh901327_probe(struct platform_device *pdev)
        writew(U300_WDOG_SR_RESET_STATUS_RESET, virtbase + U300_WDOG_SR);
 
        irq = platform_get_irq(pdev, 0);
-       if (request_irq(irq, coh901327_interrupt, IRQF_DISABLED,
+       if (request_irq(irq, coh901327_interrupt, 0,
                        DRV_NAME " Bark", pdev)) {
                ret = -EIO;
                goto out_no_irq;
index f1d1da662fbec73262f98e9289884184f67a30d0..41018d429abb14ff80b0309d2b85bd6f53b745af 100644 (file)
@@ -427,7 +427,7 @@ static int __init eurwdt_init(void)
 {
        int ret;
 
-       ret = request_irq(irq, eurwdt_interrupt, IRQF_DISABLED, "eurwdt", NULL);
+       ret = request_irq(irq, eurwdt_interrupt, 0, "eurwdt", NULL);
        if (ret) {
                printk(KERN_ERR "eurwdt: IRQ %d is not free.\n", irq);
                goto out;
index 4dc31024d26c409e4b1593ee30ba78f2f50812a6..82ccd36e2c901489aa911c5f2dab68d29729fcfc 100644 (file)
@@ -367,8 +367,7 @@ static int __devinit mpcore_wdt_probe(struct platform_device *dev)
                goto err_misc;
        }
 
-       ret = request_irq(wdt->irq, mpcore_wdt_fire, IRQF_DISABLED,
-                                                       "mpcore_wdt", wdt);
+       ret = request_irq(wdt->irq, mpcore_wdt_fire, 0, "mpcore_wdt", wdt);
        if (ret) {
                dev_printk(KERN_ERR, wdt->dev,
                        "cannot register IRQ%d for watchdog\n", wdt->irq);
index f31493e65b380cd63fef6d55132dd96e7af32d63..b01a30e5a66315ef809e5038f27aef4f40782a5a 100644 (file)
@@ -300,7 +300,7 @@ static int __init sbwdog_init(void)
         * get the resources
         */
 
-       ret = request_irq(1, sbwdog_interrupt, IRQF_DISABLED | IRQF_SHARED,
+       ret = request_irq(1, sbwdog_interrupt, IRQF_SHARED,
                ident.identity, (void *)user_dog);
        if (ret) {
                printk(KERN_ERR "%s: failed to request irq 1 - %d\n",
@@ -350,7 +350,7 @@ void platform_wd_setup(void)
 {
        int ret;
 
-       ret = request_irq(1, sbwdog_interrupt, IRQF_DISABLED | IRQF_SHARED,
+       ret = request_irq(1, sbwdog_interrupt, IRQF_SHARED,
                "Kernel Watchdog", IOADDR(A_SCD_WDOG_CFG_0));
        if (ret) {
                printk(KERN_CRIT
index bb03e151a1d01fb34fd6fbed8e413c44f7da677d..d2ef002be96b5f6346b9c5236678a74181330d32 100644 (file)
@@ -612,7 +612,7 @@ static int __init wdt_init(void)
                goto out;
        }
 
-       ret = request_irq(irq, wdt_interrupt, IRQF_DISABLED, "wdt501p", NULL);
+       ret = request_irq(irq, wdt_interrupt, 0, "wdt501p", NULL);
        if (ret) {
                printk(KERN_ERR "wdt: IRQ %d is not free.\n", irq);
                goto outreg;
index 172dad6c7693a1399e53d001e46876662f7ac27b..e0fc3baa91972f03967e5e2843350dab011c76d8 100644 (file)
@@ -643,7 +643,7 @@ static int __devinit wdtpci_init_one(struct pci_dev *dev,
        irq = dev->irq;
        io = pci_resource_start(dev, 2);
 
-       if (request_irq(irq, wdtpci_interrupt, IRQF_DISABLED | IRQF_SHARED,
+       if (request_irq(irq, wdtpci_interrupt, IRQF_SHARED,
                         "wdt_pci", &wdtpci_miscdev)) {
                printk(KERN_ERR PFX "IRQ %d is not free\n", irq);
                goto out_reg;