generic: crypto: remove IRQF_DISABLED

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
master
John Crispin 9 years ago
parent 4582d7e8f5
commit 6d461ddbb2
  1. 2
      target/linux/generic/files/crypto/ocf/kirkwood/cesa_ocf_drv.c
  2. 2
      target/linux/generic/files/crypto/ocf/pasemi/pasemi.c
  3. 2
      target/linux/generic/files/crypto/ocf/ubsec_ssb/ubsec_ssb.c

@ -1203,7 +1203,7 @@ mv_cesa_ocf_init(struct platform_device *pdev)
#endif #endif
/* register interrupt */ /* register interrupt */
if( request_irq( cesa_device.irq, cesa_interrupt_handler, 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); printk("%s,%d: cannot assign irq %x\n", __FILE__, __LINE__, cesa_device.reg);
return EINVAL; return EINVAL;
} }

@ -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); ring->irq = irq_create_mapping(NULL, sc->base_irq + chan);
ret = request_irq(ring->irq, (irq_handler_t) 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) { if (ret) {
printk(KERN_ERR DRV_NAME ": failed to hook irq %d ret %d\n", printk(KERN_ERR DRV_NAME ": failed to hook irq %d ret %d\n",
ring->irq, ret); ring->irq, ret);

@ -499,7 +499,7 @@ ubsec_ssb_probe(struct ssb_device *sdev,
} }
err = request_irq(sdev->irq, (irq_handler_t)ubsec_ssb_isr, 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) { if (err) {
dev_err(sdev->dev, "Could not request irq\n"); dev_err(sdev->dev, "Could not request irq\n");
goto err_out_powerdown; goto err_out_powerdown;

Loading…
Cancel
Save