[PATCH] Scheduled removal of SA_xxx interrupt flags fixups
The obsolete SA_xxx interrupt flags have been used despite the scheduled removal. Fixup the remaining users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Ingo Molnar <mingo@elte.hu> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Jeff Garzik <jeff@garzik.org> Cc: Wim Van Sebroeck <wim@iguana.be> Cc: Roland Dreier <rolandd@cisco.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: James Bottomley <James.Bottomley@steeleye.com> Cc: Greg KH <greg@kroah.com> Cc: Dave Airlie <airlied@linux.ie> Cc: James Simmons <jsimmons@infradead.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
3159f06dc2
commit
38515e908b
29 changed files with 39 additions and 38 deletions
|
@ -275,7 +275,7 @@ static struct irqaction ipi_irqaction = {
|
||||||
|
|
||||||
static struct irqaction resched_irqaction = {
|
static struct irqaction resched_irqaction = {
|
||||||
.handler = dummy_handler,
|
.handler = dummy_handler,
|
||||||
.flags = SA_INTERRUPT,
|
.flags = IRQF_DISABLED,
|
||||||
.name = "resched"
|
.name = "resched"
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -174,7 +174,7 @@ int stdma_islocked(void)
|
||||||
void __init stdma_init(void)
|
void __init stdma_init(void)
|
||||||
{
|
{
|
||||||
stdma_isr = NULL;
|
stdma_isr = NULL;
|
||||||
request_irq(IRQ_MFP_FDC, stdma_int, IRQ_TYPE_SLOW | SA_SHIRQ,
|
request_irq(IRQ_MFP_FDC, stdma_int, IRQ_TYPE_SLOW | IRQF_SHARED,
|
||||||
"ST-DMA: floppy/ACSI/IDE/Falcon-SCSI", stdma_int);
|
"ST-DMA: floppy/ACSI/IDE/Falcon-SCSI", stdma_int);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -154,7 +154,7 @@ static struct resource pic_edgectrl_iores = {
|
||||||
|
|
||||||
static struct irqaction i8259_irqaction = {
|
static struct irqaction i8259_irqaction = {
|
||||||
.handler = no_action,
|
.handler = no_action,
|
||||||
.flags = SA_INTERRUPT,
|
.flags = IRQF_DISABLED,
|
||||||
.mask = CPU_MASK_NONE,
|
.mask = CPU_MASK_NONE,
|
||||||
.name = "82c59 secondary cascade",
|
.name = "82c59 secondary cascade",
|
||||||
};
|
};
|
||||||
|
|
|
@ -241,7 +241,7 @@ static int mpiix_init_one(struct pci_dev *dev, const struct pci_device_id *id)
|
||||||
probe.port_ops = &mpiix_port_ops;
|
probe.port_ops = &mpiix_port_ops;
|
||||||
probe.sht = &mpiix_sht;
|
probe.sht = &mpiix_sht;
|
||||||
probe.pio_mask = 0x1F;
|
probe.pio_mask = 0x1F;
|
||||||
probe.irq_flags = SA_SHIRQ;
|
probe.irq_flags = IRQF_SHARED;
|
||||||
probe.port_flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST;
|
probe.port_flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST;
|
||||||
probe.n_ports = 1;
|
probe.n_ports = 1;
|
||||||
|
|
||||||
|
|
|
@ -264,7 +264,7 @@ next_entry:
|
||||||
ae.n_ports = 1;
|
ae.n_ports = 1;
|
||||||
ae.pio_mask = 1; /* ISA so PIO 0 cycles */
|
ae.pio_mask = 1; /* ISA so PIO 0 cycles */
|
||||||
ae.irq = pdev->irq.AssignedIRQ;
|
ae.irq = pdev->irq.AssignedIRQ;
|
||||||
ae.irq_flags = SA_SHIRQ;
|
ae.irq_flags = IRQF_SHARED;
|
||||||
ae.port_flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST;
|
ae.port_flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST;
|
||||||
ae.port[0].cmd_addr = io_addr;
|
ae.port[0].cmd_addr = io_addr;
|
||||||
ae.port[0].altstatus_addr = ctl_addr;
|
ae.port[0].altstatus_addr = ctl_addr;
|
||||||
|
|
|
@ -796,7 +796,7 @@ static int __devinit pdc2027x_init_one(struct pci_dev *pdev, const struct pci_de
|
||||||
probe_ent->port_ops = pdc2027x_port_info[board_idx].port_ops;
|
probe_ent->port_ops = pdc2027x_port_info[board_idx].port_ops;
|
||||||
|
|
||||||
probe_ent->irq = pdev->irq;
|
probe_ent->irq = pdev->irq;
|
||||||
probe_ent->irq_flags = SA_SHIRQ;
|
probe_ent->irq_flags = IRQF_SHARED;
|
||||||
probe_ent->iomap = pcim_iomap_table(pdev);
|
probe_ent->iomap = pcim_iomap_table(pdev);
|
||||||
|
|
||||||
mmio_base = probe_ent->iomap[PDC_MMIO_BAR];
|
mmio_base = probe_ent->iomap[PDC_MMIO_BAR];
|
||||||
|
|
|
@ -192,7 +192,7 @@ static int wdt_gpi_open(struct inode *inode, struct file *file)
|
||||||
locked = 0;
|
locked = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
res = request_irq(wd_irq, wdt_gpi_irqhdl, SA_SHIRQ | SA_INTERRUPT,
|
res = request_irq(wd_irq, wdt_gpi_irqhdl, IRQF_SHARED | IRQF_DISABLED,
|
||||||
wdt_gpi_name, &miscdev);
|
wdt_gpi_name, &miscdev);
|
||||||
if (unlikely(res))
|
if (unlikely(res))
|
||||||
return res;
|
return res;
|
||||||
|
|
|
@ -1073,7 +1073,7 @@ static int __devinit c2_probe(struct pci_dev *pcidev,
|
||||||
0xffffc000) / sizeof(struct c2_rxp_desc);
|
0xffffc000) / sizeof(struct c2_rxp_desc);
|
||||||
|
|
||||||
/* Request an interrupt line for the driver */
|
/* Request an interrupt line for the driver */
|
||||||
ret = request_irq(pcidev->irq, c2_interrupt, SA_SHIRQ, DRV_NAME, c2dev);
|
ret = request_irq(pcidev->irq, c2_interrupt, IRQF_SHARED, DRV_NAME, c2dev);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
printk(KERN_ERR PFX "%s: requested IRQ %u is busy\n",
|
printk(KERN_ERR PFX "%s: requested IRQ %u is busy\n",
|
||||||
pci_name(pcidev), pcidev->irq);
|
pci_name(pcidev), pcidev->irq);
|
||||||
|
|
|
@ -122,7 +122,7 @@ int ehca_create_eq(struct ehca_shca *shca,
|
||||||
/* register interrupt handlers and initialize work queues */
|
/* register interrupt handlers and initialize work queues */
|
||||||
if (type == EHCA_EQ) {
|
if (type == EHCA_EQ) {
|
||||||
ret = ibmebus_request_irq(NULL, eq->ist, ehca_interrupt_eq,
|
ret = ibmebus_request_irq(NULL, eq->ist, ehca_interrupt_eq,
|
||||||
SA_INTERRUPT, "ehca_eq",
|
IRQF_DISABLED, "ehca_eq",
|
||||||
(void *)shca);
|
(void *)shca);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
ehca_err(ib_dev, "Can't map interrupt handler.");
|
ehca_err(ib_dev, "Can't map interrupt handler.");
|
||||||
|
@ -130,7 +130,7 @@ int ehca_create_eq(struct ehca_shca *shca,
|
||||||
tasklet_init(&eq->interrupt_task, ehca_tasklet_eq, (long)shca);
|
tasklet_init(&eq->interrupt_task, ehca_tasklet_eq, (long)shca);
|
||||||
} else if (type == EHCA_NEQ) {
|
} else if (type == EHCA_NEQ) {
|
||||||
ret = ibmebus_request_irq(NULL, eq->ist, ehca_interrupt_neq,
|
ret = ibmebus_request_irq(NULL, eq->ist, ehca_interrupt_neq,
|
||||||
SA_INTERRUPT, "ehca_neq",
|
IRQF_DISABLED, "ehca_neq",
|
||||||
(void *)shca);
|
(void *)shca);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
ehca_err(ib_dev, "Can't map interrupt handler.");
|
ehca_err(ib_dev, "Can't map interrupt handler.");
|
||||||
|
|
|
@ -367,7 +367,7 @@ static int tifm_7xx1_probe(struct pci_dev *dev,
|
||||||
if (!fm->addr)
|
if (!fm->addr)
|
||||||
goto err_out_free;
|
goto err_out_free;
|
||||||
|
|
||||||
rc = request_irq(dev->irq, tifm_7xx1_isr, SA_SHIRQ, DRIVER_NAME, fm);
|
rc = request_irq(dev->irq, tifm_7xx1_isr, IRQF_SHARED, DRIVER_NAME, fm);
|
||||||
if (rc)
|
if (rc)
|
||||||
goto err_out_unmap;
|
goto err_out_unmap;
|
||||||
|
|
||||||
|
|
|
@ -500,7 +500,7 @@ int lance_open (struct net_device *dev)
|
||||||
int res;
|
int res;
|
||||||
|
|
||||||
/* Install the Interrupt handler. Or we could shunt this out to specific drivers? */
|
/* Install the Interrupt handler. Or we could shunt this out to specific drivers? */
|
||||||
if (request_irq(lp->irq, lance_interrupt, SA_SHIRQ, lp->name, dev))
|
if (request_irq(lp->irq, lance_interrupt, IRQF_SHARED, lp->name, dev))
|
||||||
return -EAGAIN;
|
return -EAGAIN;
|
||||||
|
|
||||||
res = lance_reset(dev);
|
res = lance_reset(dev);
|
||||||
|
|
|
@ -882,7 +882,7 @@ static int ehea_reg_interrupts(struct net_device *dev)
|
||||||
, "%s-recv%d", dev->name, i);
|
, "%s-recv%d", dev->name, i);
|
||||||
ret = ibmebus_request_irq(NULL, pr->recv_eq->attr.ist1,
|
ret = ibmebus_request_irq(NULL, pr->recv_eq->attr.ist1,
|
||||||
ehea_recv_irq_handler,
|
ehea_recv_irq_handler,
|
||||||
SA_INTERRUPT, pr->int_recv_name, pr);
|
IRQF_DISABLED, pr->int_recv_name, pr);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
ehea_error("failed registering irq for ehea_recv_int:"
|
ehea_error("failed registering irq for ehea_recv_int:"
|
||||||
"port_res_nr:%d, ist=%X", i,
|
"port_res_nr:%d, ist=%X", i,
|
||||||
|
@ -899,7 +899,7 @@ static int ehea_reg_interrupts(struct net_device *dev)
|
||||||
|
|
||||||
ret = ibmebus_request_irq(NULL, port->qp_eq->attr.ist1,
|
ret = ibmebus_request_irq(NULL, port->qp_eq->attr.ist1,
|
||||||
ehea_qp_aff_irq_handler,
|
ehea_qp_aff_irq_handler,
|
||||||
SA_INTERRUPT, port->int_aff_name, port);
|
IRQF_DISABLED, port->int_aff_name, port);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
ehea_error("failed registering irq for qp_aff_irq_handler:"
|
ehea_error("failed registering irq for qp_aff_irq_handler:"
|
||||||
"ist=%X", port->qp_eq->attr.ist1);
|
"ist=%X", port->qp_eq->attr.ist1);
|
||||||
|
@ -916,7 +916,7 @@ static int ehea_reg_interrupts(struct net_device *dev)
|
||||||
"%s-send%d", dev->name, i);
|
"%s-send%d", dev->name, i);
|
||||||
ret = ibmebus_request_irq(NULL, pr->send_eq->attr.ist1,
|
ret = ibmebus_request_irq(NULL, pr->send_eq->attr.ist1,
|
||||||
ehea_send_irq_handler,
|
ehea_send_irq_handler,
|
||||||
SA_INTERRUPT, pr->int_send_name,
|
IRQF_DISABLED, pr->int_send_name,
|
||||||
pr);
|
pr);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
ehea_error("failed registering irq for ehea_send "
|
ehea_error("failed registering irq for ehea_send "
|
||||||
|
@ -2539,7 +2539,7 @@ static int __devinit ehea_probe(struct ibmebus_dev *dev,
|
||||||
(unsigned long)adapter);
|
(unsigned long)adapter);
|
||||||
|
|
||||||
ret = ibmebus_request_irq(NULL, adapter->neq->attr.ist1,
|
ret = ibmebus_request_irq(NULL, adapter->neq->attr.ist1,
|
||||||
ehea_interrupt_neq, SA_INTERRUPT,
|
ehea_interrupt_neq, IRQF_DISABLED,
|
||||||
"ehea_neq", adapter);
|
"ehea_neq", adapter);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(&dev->ofdev.dev, "requesting NEQ IRQ failed");
|
dev_err(&dev->ofdev.dev, "requesting NEQ IRQ failed");
|
||||||
|
|
|
@ -1077,7 +1077,7 @@ static int __devinit macb_probe(struct platform_device *pdev)
|
||||||
}
|
}
|
||||||
|
|
||||||
dev->irq = platform_get_irq(pdev, 0);
|
dev->irq = platform_get_irq(pdev, 0);
|
||||||
err = request_irq(dev->irq, macb_interrupt, SA_SAMPLE_RANDOM,
|
err = request_irq(dev->irq, macb_interrupt, IRQF_SAMPLE_RANDOM,
|
||||||
dev->name, dev);
|
dev->name, dev);
|
||||||
if (err) {
|
if (err) {
|
||||||
printk(KERN_ERR
|
printk(KERN_ERR
|
||||||
|
|
|
@ -619,8 +619,8 @@ static int netxen_nic_open(struct net_device *netdev)
|
||||||
}
|
}
|
||||||
adapter->irq = adapter->ahw.pdev->irq;
|
adapter->irq = adapter->ahw.pdev->irq;
|
||||||
err = request_irq(adapter->ahw.pdev->irq, &netxen_intr,
|
err = request_irq(adapter->ahw.pdev->irq, &netxen_intr,
|
||||||
SA_SHIRQ | SA_SAMPLE_RANDOM, netdev->name,
|
IRQF_SHARED | IRQF_SAMPLE_RANDOM,
|
||||||
adapter);
|
netdev->name, adapter);
|
||||||
if (err) {
|
if (err) {
|
||||||
printk(KERN_ERR "request_irq failed with: %d\n", err);
|
printk(KERN_ERR "request_irq failed with: %d\n", err);
|
||||||
netxen_free_hw_resources(adapter);
|
netxen_free_hw_resources(adapter);
|
||||||
|
|
|
@ -3228,7 +3228,7 @@ static int ql_adapter_up(struct ql3_adapter *qdev)
|
||||||
{
|
{
|
||||||
struct net_device *ndev = qdev->ndev;
|
struct net_device *ndev = qdev->ndev;
|
||||||
int err;
|
int err;
|
||||||
unsigned long irq_flags = SA_SAMPLE_RANDOM | SA_SHIRQ;
|
unsigned long irq_flags = IRQF_SAMPLE_RANDOM | IRQF_SHARED;
|
||||||
unsigned long hw_flags;
|
unsigned long hw_flags;
|
||||||
|
|
||||||
if (ql_alloc_mem_resources(qdev)) {
|
if (ql_alloc_mem_resources(qdev)) {
|
||||||
|
@ -3247,7 +3247,7 @@ static int ql_adapter_up(struct ql3_adapter *qdev)
|
||||||
} else {
|
} else {
|
||||||
printk(KERN_INFO PFX "%s: MSI Enabled...\n", qdev->ndev->name);
|
printk(KERN_INFO PFX "%s: MSI Enabled...\n", qdev->ndev->name);
|
||||||
set_bit(QL_MSI_ENABLED,&qdev->flags);
|
set_bit(QL_MSI_ENABLED,&qdev->flags);
|
||||||
irq_flags &= ~SA_SHIRQ;
|
irq_flags &= ~IRQF_SHARED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3939,8 +3939,8 @@ static void ugeth_phy_startup_timer(unsigned long data)
|
||||||
/* Grab the PHY interrupt, if necessary/possible */
|
/* Grab the PHY interrupt, if necessary/possible */
|
||||||
if (ugeth->ug_info->board_flags & FSL_UGETH_BRD_HAS_PHY_INTR) {
|
if (ugeth->ug_info->board_flags & FSL_UGETH_BRD_HAS_PHY_INTR) {
|
||||||
if (request_irq(ugeth->ug_info->phy_interrupt,
|
if (request_irq(ugeth->ug_info->phy_interrupt,
|
||||||
phy_interrupt,
|
phy_interrupt, IRQF_SHARED,
|
||||||
SA_SHIRQ, "phy_interrupt", mii_info->dev) < 0) {
|
"phy_interrupt", mii_info->dev) < 0) {
|
||||||
ugeth_err("%s: Can't get IRQ %d (PHY)",
|
ugeth_err("%s: Can't get IRQ %d (PHY)",
|
||||||
mii_info->dev->name,
|
mii_info->dev->name,
|
||||||
ugeth->ug_info->phy_interrupt);
|
ugeth->ug_info->phy_interrupt);
|
||||||
|
|
|
@ -220,7 +220,7 @@ static int __devinit aer_probe (struct pcie_device *dev,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Request IRQ ISR */
|
/* Request IRQ ISR */
|
||||||
if ((status = request_irq(dev->irq, aer_irq, SA_SHIRQ, "aerdrv",
|
if ((status = request_irq(dev->irq, aer_irq, IRQF_SHARED, "aerdrv",
|
||||||
dev))) {
|
dev))) {
|
||||||
printk(KERN_DEBUG "%s: Request ISR fails on PCIE device[%s]\n",
|
printk(KERN_DEBUG "%s: Request ISR fails on PCIE device[%s]\n",
|
||||||
__FUNCTION__, device->bus_id);
|
__FUNCTION__, device->bus_id);
|
||||||
|
|
|
@ -417,13 +417,13 @@ static int __devinit omap_rtc_probe(struct platform_device *pdev)
|
||||||
rtc_write(OMAP_RTC_STATUS_ALARM, OMAP_RTC_STATUS_REG);
|
rtc_write(OMAP_RTC_STATUS_ALARM, OMAP_RTC_STATUS_REG);
|
||||||
|
|
||||||
/* handle periodic and alarm irqs */
|
/* handle periodic and alarm irqs */
|
||||||
if (request_irq(omap_rtc_timer, rtc_irq, SA_INTERRUPT,
|
if (request_irq(omap_rtc_timer, rtc_irq, IRQF_DISABLED,
|
||||||
rtc->class_dev.class_id, &rtc->class_dev)) {
|
rtc->class_dev.class_id, &rtc->class_dev)) {
|
||||||
pr_debug("%s: RTC timer interrupt IRQ%d already claimed\n",
|
pr_debug("%s: RTC timer interrupt IRQ%d already claimed\n",
|
||||||
pdev->name, omap_rtc_timer);
|
pdev->name, omap_rtc_timer);
|
||||||
goto fail0;
|
goto fail0;
|
||||||
}
|
}
|
||||||
if (request_irq(omap_rtc_alarm, rtc_irq, SA_INTERRUPT,
|
if (request_irq(omap_rtc_alarm, rtc_irq, IRQF_DISABLED,
|
||||||
rtc->class_dev.class_id, &rtc->class_dev)) {
|
rtc->class_dev.class_id, &rtc->class_dev)) {
|
||||||
pr_debug("%s: RTC alarm interrupt IRQ%d already claimed\n",
|
pr_debug("%s: RTC alarm interrupt IRQ%d already claimed\n",
|
||||||
pdev->name, omap_rtc_alarm);
|
pdev->name, omap_rtc_alarm);
|
||||||
|
|
|
@ -350,7 +350,7 @@ static int s3c_rtc_open(struct device *dev)
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = request_irq(s3c_rtc_alarmno, s3c_rtc_alarmirq,
|
ret = request_irq(s3c_rtc_alarmno, s3c_rtc_alarmirq,
|
||||||
SA_INTERRUPT, "s3c2410-rtc alarm", rtc_dev);
|
IRQF_DISABLED, "s3c2410-rtc alarm", rtc_dev);
|
||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev, "IRQ%d error %d\n", s3c_rtc_alarmno, ret);
|
dev_err(dev, "IRQ%d error %d\n", s3c_rtc_alarmno, ret);
|
||||||
|
@ -358,7 +358,7 @@ static int s3c_rtc_open(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = request_irq(s3c_rtc_tickno, s3c_rtc_tickirq,
|
ret = request_irq(s3c_rtc_tickno, s3c_rtc_tickirq,
|
||||||
SA_INTERRUPT, "s3c2410-rtc tick", rtc_dev);
|
IRQF_DISABLED, "s3c2410-rtc tick", rtc_dev);
|
||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev, "IRQ%d error %d\n", s3c_rtc_tickno, ret);
|
dev_err(dev, "IRQ%d error %d\n", s3c_rtc_tickno, ret);
|
||||||
|
|
|
@ -653,7 +653,7 @@ static int __devinit asd_pci_probe(struct pci_dev *dev,
|
||||||
if (use_msi)
|
if (use_msi)
|
||||||
pci_enable_msi(asd_ha->pcidev);
|
pci_enable_msi(asd_ha->pcidev);
|
||||||
|
|
||||||
err = request_irq(asd_ha->pcidev->irq, asd_hw_isr, SA_SHIRQ,
|
err = request_irq(asd_ha->pcidev->irq, asd_hw_isr, IRQF_SHARED,
|
||||||
ASD_DRIVER_NAME, asd_ha);
|
ASD_DRIVER_NAME, asd_ha);
|
||||||
if (err) {
|
if (err) {
|
||||||
asd_printk("couldn't get irq %d for %s\n",
|
asd_printk("couldn't get irq %d for %s\n",
|
||||||
|
|
|
@ -322,7 +322,7 @@ static int arcmsr_probe(struct pci_dev *pdev,
|
||||||
goto out_iounmap;
|
goto out_iounmap;
|
||||||
|
|
||||||
error = request_irq(pdev->irq, arcmsr_do_interrupt,
|
error = request_irq(pdev->irq, arcmsr_do_interrupt,
|
||||||
SA_INTERRUPT | SA_SHIRQ, "arcmsr", acb);
|
IRQF_DISABLED | IRQF_SHARED, "arcmsr", acb);
|
||||||
if (error)
|
if (error)
|
||||||
goto out_free_ccb_pool;
|
goto out_free_ccb_pool;
|
||||||
|
|
||||||
|
|
|
@ -580,7 +580,7 @@ static int crq_queue_create(struct crq_queue *queue, struct srp_target *target)
|
||||||
}
|
}
|
||||||
|
|
||||||
err = request_irq(vport->dma_dev->irq, &ibmvstgt_interrupt,
|
err = request_irq(vport->dma_dev->irq, &ibmvstgt_interrupt,
|
||||||
SA_INTERRUPT, "ibmvstgt", target);
|
IRQF_DISABLED, "ibmvstgt", target);
|
||||||
if (err)
|
if (err)
|
||||||
goto req_irq_failed;
|
goto req_irq_failed;
|
||||||
|
|
||||||
|
|
|
@ -1270,7 +1270,7 @@ static int __devinit qla4xxx_probe_adapter(struct pci_dev *pdev,
|
||||||
INIT_WORK(&ha->dpc_work, qla4xxx_do_dpc);
|
INIT_WORK(&ha->dpc_work, qla4xxx_do_dpc);
|
||||||
|
|
||||||
ret = request_irq(pdev->irq, qla4xxx_intr_handler,
|
ret = request_irq(pdev->irq, qla4xxx_intr_handler,
|
||||||
SA_INTERRUPT|SA_SHIRQ, "qla4xxx", ha);
|
IRQF_DISABLED | IRQF_SHARED, "qla4xxx", ha);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_warn(&ha->pdev->dev, "Failed to reserve interrupt %d"
|
dev_warn(&ha->pdev->dev, "Failed to reserve interrupt %d"
|
||||||
" already in use.\n", pdev->irq);
|
" already in use.\n", pdev->irq);
|
||||||
|
|
|
@ -2613,7 +2613,7 @@ lubbock_fail0:
|
||||||
#endif
|
#endif
|
||||||
if (vbus_irq) {
|
if (vbus_irq) {
|
||||||
retval = request_irq(vbus_irq, udc_vbus_irq,
|
retval = request_irq(vbus_irq, udc_vbus_irq,
|
||||||
SA_INTERRUPT | SA_SAMPLE_RANDOM,
|
IRQF_DISABLED | IRQF_SAMPLE_RANDOM,
|
||||||
driver_name, dev);
|
driver_name, dev);
|
||||||
if (retval != 0) {
|
if (retval != 0) {
|
||||||
printk(KERN_ERR "%s: can't get irq %i, err %d\n",
|
printk(KERN_ERR "%s: can't get irq %i, err %d\n",
|
||||||
|
|
|
@ -78,7 +78,7 @@ static int usb_hcd_ep93xx_probe(const struct hc_driver *driver,
|
||||||
|
|
||||||
ohci_hcd_init(hcd_to_ohci(hcd));
|
ohci_hcd_init(hcd_to_ohci(hcd));
|
||||||
|
|
||||||
retval = usb_add_hcd(hcd, pdev->resource[1].start, SA_INTERRUPT);
|
retval = usb_add_hcd(hcd, pdev->resource[1].start, IRQF_DISABLED);
|
||||||
if (retval == 0)
|
if (retval == 0)
|
||||||
return retval;
|
return retval;
|
||||||
|
|
||||||
|
|
|
@ -421,7 +421,7 @@ static int __devinit usb_hcd_pnx4008_probe(struct platform_device *pdev)
|
||||||
ohci_hcd_init(ohci);
|
ohci_hcd_init(ohci);
|
||||||
|
|
||||||
dev_info(&pdev->dev, "at 0x%p, irq %d\n", hcd->regs, hcd->irq);
|
dev_info(&pdev->dev, "at 0x%p, irq %d\n", hcd->regs, hcd->irq);
|
||||||
ret = usb_add_hcd(hcd, irq, SA_INTERRUPT);
|
ret = usb_add_hcd(hcd, irq, IRQF_DISABLED);
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
|
|
@ -107,7 +107,7 @@ int usb_hcd_pnx8550_probe (const struct hc_driver *driver,
|
||||||
|
|
||||||
ohci_hcd_init(hcd_to_ohci(hcd));
|
ohci_hcd_init(hcd_to_ohci(hcd));
|
||||||
|
|
||||||
retval = usb_add_hcd(hcd, dev->resource[1].start, SA_INTERRUPT);
|
retval = usb_add_hcd(hcd, dev->resource[1].start, IRQF_DISABLED);
|
||||||
if (retval == 0)
|
if (retval == 0)
|
||||||
return retval;
|
return retval;
|
||||||
|
|
||||||
|
|
|
@ -1990,7 +1990,8 @@ int
|
||||||
intelfbhw_enable_irq(struct intelfb_info *dinfo, int reenable) {
|
intelfbhw_enable_irq(struct intelfb_info *dinfo, int reenable) {
|
||||||
|
|
||||||
if (!test_and_set_bit(0, &dinfo->irq_flags)) {
|
if (!test_and_set_bit(0, &dinfo->irq_flags)) {
|
||||||
if (request_irq(dinfo->pdev->irq, intelfbhw_irq, SA_SHIRQ, "intelfb", dinfo)) {
|
if (request_irq(dinfo->pdev->irq, intelfbhw_irq, IRQF_SHARED,
|
||||||
|
"intelfb", dinfo)) {
|
||||||
clear_bit(0, &dinfo->irq_flags);
|
clear_bit(0, &dinfo->irq_flags);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -461,7 +461,7 @@ int request_irq(unsigned int irq, irq_handler_t handler,
|
||||||
/*
|
/*
|
||||||
* Lockdep wants atomic interrupt handlers:
|
* Lockdep wants atomic interrupt handlers:
|
||||||
*/
|
*/
|
||||||
irqflags |= SA_INTERRUPT;
|
irqflags |= IRQF_DISABLED;
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
* Sanity-check: shared interrupts must pass in a real dev-ID,
|
* Sanity-check: shared interrupts must pass in a real dev-ID,
|
||||||
|
|
Loading…
Add table
Reference in a new issue