[PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2
authorThomas Gleixner <tglx@linutronix.de>
Wed, 14 Feb 2007 08:33:20 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:55 +0000 (08:09 -0800)
The obsolete SA_xxx interrupt flags have been used despite the scheduled
removal.  Fixup the remaining users in -mm.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/input/keyboard/gpio_keys.c
drivers/mtd/nand/cafe.c
drivers/net/cxgb3/cxgb3_main.c
drivers/net/sc92031.c

index 3a8f1b427a7fdc7547b7d7d91a4d45495829102e..7ad479e4e3b38678ae4de0640887716409166765 100644 (file)
@@ -78,7 +78,7 @@ static int __devinit gpio_keys_probe(struct platform_device *pdev)
                int irq = IRQ_GPIO(pdata->buttons[i].gpio);
 
                set_irq_type(irq, IRQ_TYPE_EDGE_BOTH);
-               error = request_irq(irq, gpio_keys_isr, SA_SAMPLE_RANDOM,
+               error = request_irq(irq, gpio_keys_isr, IRQF_SAMPLE_RANDOM,
                                     pdata->buttons[i].desc ? pdata->buttons[i].desc : "gpio_keys",
                                     pdev);
                if (error) {
index 65f9bd3ceebfb6d707d2d7301568fe3786bacb0f..08cb060dfa3d64aea2da088ac56f17de7c883aae 100644 (file)
@@ -597,7 +597,8 @@ static int __devinit cafe_nand_probe(struct pci_dev *pdev,
                cafe_writel(cafe, 0xffffffff, NAND_TIMING3);
        }
        cafe_writel(cafe, 0xffffffff, NAND_IRQ_MASK);
-       err = request_irq(pdev->irq, &cafe_nand_interrupt, SA_SHIRQ, "CAFE NAND", mtd);
+       err = request_irq(pdev->irq, &cafe_nand_interrupt, IRQF_SHARED,
+                         "CAFE NAND", mtd);
        if (err) {
                dev_warn(&pdev->dev, "Could not register IRQ %d\n", pdev->irq);
 
index c67f7d3c2f92a8195ca2f5f2837526452b759d1e..43583ed655ab8a3171b5dc9be25c26078a10a79d 100644 (file)
@@ -757,7 +757,8 @@ static int cxgb_up(struct adapter *adap)
                                      t3_intr_handler(adap,
                                                      adap->sge.qs[0].rspq.
                                                      polling),
-                                     (adap->flags & USING_MSI) ? 0 : SA_SHIRQ,
+                                     (adap->flags & USING_MSI) ?
+                                      0 : IRQF_SHARED,
                                      adap->name, adap)))
                goto irq_err;
 
index 7f800feaa9a2efb9ec81fd447dcbc443ed85aa9c..4a926f20b6ea9e8603e1f5d5967a937f402da406 100644 (file)
@@ -1035,7 +1035,7 @@ static int sc92031_open(struct net_device *dev)
        priv->tx_head = priv->tx_tail = 0;
 
        err = request_irq(pdev->irq, sc92031_interrupt,
-                       SA_SHIRQ, dev->name, dev);
+                       IRQF_SHARED, dev->name, dev);
        if (unlikely(err < 0))
                goto out_request_irq;