generic: crypto: remove IRQF_DISABLED
authorJohn Crispin <john@openwrt.org>
Mon, 17 Aug 2015 11:26:02 +0000 (11:26 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 17 Aug 2015 11:26:02 +0000 (11:26 +0000)
no-op since 2.6.35
    removed in Kernel 4.1
    see https://lwn.net/Articles/380931/

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46671

target/linux/generic/files/crypto/ocf/kirkwood/cesa_ocf_drv.c
target/linux/generic/files/crypto/ocf/pasemi/pasemi.c
target/linux/generic/files/crypto/ocf/ubsec_ssb/ubsec_ssb.c

index e689f24eff7f8fd247314e943d1d5b16105bf291..6fb9e092385f57cb7e816e0ebdeadbd709367e61 100644 (file)
@@ -1203,7 +1203,7 @@ mv_cesa_ocf_init(struct platform_device *pdev)
 #endif
        /* register interrupt */
        if( request_irq( cesa_device.irq, cesa_interrupt_handler,
-                             (IRQF_DISABLED) , "cesa", &cesa_ocf_id) < 0) {
+                             0, "cesa", &cesa_ocf_id) < 0) {
                printk("%s,%d: cannot assign irq %x\n", __FILE__, __LINE__, cesa_device.reg);
                return EINVAL;
         }
index 7bb62bc531675b412377ebd6c71280b9ad8fbcf6..216c578d7ea2502062fe11e9aaaab4554afe1b31 100644 (file)
@@ -767,7 +767,7 @@ static int pasemi_dma_setup_tx_resources(struct pasemi_softc *sc, int chan)
 
        ring->irq = irq_create_mapping(NULL, sc->base_irq + chan);
        ret = request_irq(ring->irq, (irq_handler_t)
-                         pasemi_intr, IRQF_DISABLED, ring->irq_name, sc);
+                         pasemi_intr, 0, ring->irq_name, sc);
        if (ret) {
                printk(KERN_ERR DRV_NAME ": failed to hook irq %d ret %d\n",
                       ring->irq, ret);
index 6dc22c7ee5c30c0751093cf75c4595de3da6bdc3..a81594e593db7458f6a5c69698e6835f921827e6 100644 (file)
@@ -499,7 +499,7 @@ ubsec_ssb_probe(struct ssb_device *sdev,
     }
 
     err = request_irq(sdev->irq, (irq_handler_t)ubsec_ssb_isr, 
-        IRQF_DISABLED | IRQF_SHARED, DRV_MODULE_NAME, sdev);
+        IRQF_SHARED, DRV_MODULE_NAME, sdev);
     if (err) {
         dev_err(sdev->dev, "Could not request irq\n");
         goto err_out_powerdown;