diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-02-14 03:33:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-14 11:09:54 -0500 |
commit | 38515e908ba3a9c467ad3bf347b9bce69216df94 (patch) | |
tree | 3bb0287ad4ea18d61cb3cad74337343ef5034b5d /drivers | |
parent | 3159f06dc2303630c02d1ad2eeaeaf341414c9df (diff) |
[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>
Diffstat (limited to 'drivers')
25 files changed, 35 insertions, 34 deletions
diff --git a/drivers/ata/pata_mpiix.c b/drivers/ata/pata_mpiix.c index ca8c965179b..f2e7115f7ab 100644 --- a/drivers/ata/pata_mpiix.c +++ b/drivers/ata/pata_mpiix.c | |||
@@ -241,7 +241,7 @@ static int mpiix_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
241 | probe.port_ops = &mpiix_port_ops; | 241 | probe.port_ops = &mpiix_port_ops; |
242 | probe.sht = &mpiix_sht; | 242 | probe.sht = &mpiix_sht; |
243 | probe.pio_mask = 0x1F; | 243 | probe.pio_mask = 0x1F; |
244 | probe.irq_flags = SA_SHIRQ; | 244 | probe.irq_flags = IRQF_SHARED; |
245 | probe.port_flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST; | 245 | probe.port_flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST; |
246 | probe.n_ports = 1; | 246 | probe.n_ports = 1; |
247 | 247 | ||
diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c index acfc09f9abd..36468ec6454 100644 --- a/drivers/ata/pata_pcmcia.c +++ b/drivers/ata/pata_pcmcia.c | |||
@@ -264,7 +264,7 @@ next_entry: | |||
264 | ae.n_ports = 1; | 264 | ae.n_ports = 1; |
265 | ae.pio_mask = 1; /* ISA so PIO 0 cycles */ | 265 | ae.pio_mask = 1; /* ISA so PIO 0 cycles */ |
266 | ae.irq = pdev->irq.AssignedIRQ; | 266 | ae.irq = pdev->irq.AssignedIRQ; |
267 | ae.irq_flags = SA_SHIRQ; | 267 | ae.irq_flags = IRQF_SHARED; |
268 | ae.port_flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST; | 268 | ae.port_flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST; |
269 | ae.port[0].cmd_addr = io_addr; | 269 | ae.port[0].cmd_addr = io_addr; |
270 | ae.port[0].altstatus_addr = ctl_addr; | 270 | ae.port[0].altstatus_addr = ctl_addr; |
diff --git a/drivers/ata/pata_pdc2027x.c b/drivers/ata/pata_pdc2027x.c index ffa7f47fbb2..61537873d28 100644 --- a/drivers/ata/pata_pdc2027x.c +++ b/drivers/ata/pata_pdc2027x.c | |||
@@ -796,7 +796,7 @@ static int __devinit pdc2027x_init_one(struct pci_dev *pdev, const struct pci_de | |||
796 | probe_ent->port_ops = pdc2027x_port_info[board_idx].port_ops; | 796 | probe_ent->port_ops = pdc2027x_port_info[board_idx].port_ops; |
797 | 797 | ||
798 | probe_ent->irq = pdev->irq; | 798 | probe_ent->irq = pdev->irq; |
799 | probe_ent->irq_flags = SA_SHIRQ; | 799 | probe_ent->irq_flags = IRQF_SHARED; |
800 | probe_ent->iomap = pcim_iomap_table(pdev); | 800 | probe_ent->iomap = pcim_iomap_table(pdev); |
801 | 801 | ||
802 | mmio_base = probe_ent->iomap[PDC_MMIO_BAR]; | 802 | mmio_base = probe_ent->iomap[PDC_MMIO_BAR]; |
diff --git a/drivers/char/watchdog/rm9k_wdt.c b/drivers/char/watchdog/rm9k_wdt.c index b4678839d3b..5c921e47156 100644 --- a/drivers/char/watchdog/rm9k_wdt.c +++ b/drivers/char/watchdog/rm9k_wdt.c | |||
@@ -192,7 +192,7 @@ static int wdt_gpi_open(struct inode *inode, struct file *file) | |||
192 | locked = 0; | 192 | locked = 0; |
193 | } | 193 | } |
194 | 194 | ||
195 | res = request_irq(wd_irq, wdt_gpi_irqhdl, SA_SHIRQ | SA_INTERRUPT, | 195 | res = request_irq(wd_irq, wdt_gpi_irqhdl, IRQF_SHARED | IRQF_DISABLED, |
196 | wdt_gpi_name, &miscdev); | 196 | wdt_gpi_name, &miscdev); |
197 | if (unlikely(res)) | 197 | if (unlikely(res)) |
198 | return res; | 198 | return res; |
diff --git a/drivers/infiniband/hw/amso1100/c2.c b/drivers/infiniband/hw/amso1100/c2.c index 27fe242ed43..59243d9aedd 100644 --- a/drivers/infiniband/hw/amso1100/c2.c +++ b/drivers/infiniband/hw/amso1100/c2.c | |||
@@ -1073,7 +1073,7 @@ static int __devinit c2_probe(struct pci_dev *pcidev, | |||
1073 | 0xffffc000) / sizeof(struct c2_rxp_desc); | 1073 | 0xffffc000) / sizeof(struct c2_rxp_desc); |
1074 | 1074 | ||
1075 | /* Request an interrupt line for the driver */ | 1075 | /* Request an interrupt line for the driver */ |
1076 | ret = request_irq(pcidev->irq, c2_interrupt, SA_SHIRQ, DRV_NAME, c2dev); | 1076 | ret = request_irq(pcidev->irq, c2_interrupt, IRQF_SHARED, DRV_NAME, c2dev); |
1077 | if (ret) { | 1077 | if (ret) { |
1078 | printk(KERN_ERR PFX "%s: requested IRQ %u is busy\n", | 1078 | printk(KERN_ERR PFX "%s: requested IRQ %u is busy\n", |
1079 | pci_name(pcidev), pcidev->irq); | 1079 | pci_name(pcidev), pcidev->irq); |
diff --git a/drivers/infiniband/hw/ehca/ehca_eq.c b/drivers/infiniband/hw/ehca/ehca_eq.c index 5281dec66f1..24ceab0bae4 100644 --- a/drivers/infiniband/hw/ehca/ehca_eq.c +++ b/drivers/infiniband/hw/ehca/ehca_eq.c | |||
@@ -122,7 +122,7 @@ int ehca_create_eq(struct ehca_shca *shca, | |||
122 | /* register interrupt handlers and initialize work queues */ | 122 | /* register interrupt handlers and initialize work queues */ |
123 | if (type == EHCA_EQ) { | 123 | if (type == EHCA_EQ) { |
124 | ret = ibmebus_request_irq(NULL, eq->ist, ehca_interrupt_eq, | 124 | ret = ibmebus_request_irq(NULL, eq->ist, ehca_interrupt_eq, |
125 | SA_INTERRUPT, "ehca_eq", | 125 | IRQF_DISABLED, "ehca_eq", |
126 | (void *)shca); | 126 | (void *)shca); |
127 | if (ret < 0) | 127 | if (ret < 0) |
128 | ehca_err(ib_dev, "Can't map interrupt handler."); | 128 | ehca_err(ib_dev, "Can't map interrupt handler."); |
@@ -130,7 +130,7 @@ int ehca_create_eq(struct ehca_shca *shca, | |||
130 | tasklet_init(&eq->interrupt_task, ehca_tasklet_eq, (long)shca); | 130 | tasklet_init(&eq->interrupt_task, ehca_tasklet_eq, (long)shca); |
131 | } else if (type == EHCA_NEQ) { | 131 | } else if (type == EHCA_NEQ) { |
132 | ret = ibmebus_request_irq(NULL, eq->ist, ehca_interrupt_neq, | 132 | ret = ibmebus_request_irq(NULL, eq->ist, ehca_interrupt_neq, |
133 | SA_INTERRUPT, "ehca_neq", | 133 | IRQF_DISABLED, "ehca_neq", |
134 | (void *)shca); | 134 | (void *)shca); |
135 | if (ret < 0) | 135 | if (ret < 0) |
136 | ehca_err(ib_dev, "Can't map interrupt handler."); | 136 | ehca_err(ib_dev, "Can't map interrupt handler."); |
diff --git a/drivers/misc/tifm_7xx1.c b/drivers/misc/tifm_7xx1.c index e21e490fedb..bc60e2fc3c2 100644 --- a/drivers/misc/tifm_7xx1.c +++ b/drivers/misc/tifm_7xx1.c | |||
@@ -367,7 +367,7 @@ static int tifm_7xx1_probe(struct pci_dev *dev, | |||
367 | if (!fm->addr) | 367 | if (!fm->addr) |
368 | goto err_out_free; | 368 | goto err_out_free; |
369 | 369 | ||
370 | rc = request_irq(dev->irq, tifm_7xx1_isr, SA_SHIRQ, DRIVER_NAME, fm); | 370 | rc = request_irq(dev->irq, tifm_7xx1_isr, IRQF_SHARED, DRIVER_NAME, fm); |
371 | if (rc) | 371 | if (rc) |
372 | goto err_out_unmap; | 372 | goto err_out_unmap; |
373 | 373 | ||
diff --git a/drivers/net/7990.c b/drivers/net/7990.c index 2d5ba076471..1b3d11ed6cf 100644 --- a/drivers/net/7990.c +++ b/drivers/net/7990.c | |||
@@ -500,7 +500,7 @@ int lance_open (struct net_device *dev) | |||
500 | int res; | 500 | int res; |
501 | 501 | ||
502 | /* Install the Interrupt handler. Or we could shunt this out to specific drivers? */ | 502 | /* Install the Interrupt handler. Or we could shunt this out to specific drivers? */ |
503 | if (request_irq(lp->irq, lance_interrupt, SA_SHIRQ, lp->name, dev)) | 503 | if (request_irq(lp->irq, lance_interrupt, IRQF_SHARED, lp->name, dev)) |
504 | return -EAGAIN; | 504 | return -EAGAIN; |
505 | 505 | ||
506 | res = lance_reset(dev); | 506 | res = lance_reset(dev); |
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c index 9de2d38a532..38b2fa424b2 100644 --- a/drivers/net/ehea/ehea_main.c +++ b/drivers/net/ehea/ehea_main.c | |||
@@ -882,7 +882,7 @@ static int ehea_reg_interrupts(struct net_device *dev) | |||
882 | , "%s-recv%d", dev->name, i); | 882 | , "%s-recv%d", dev->name, i); |
883 | ret = ibmebus_request_irq(NULL, pr->recv_eq->attr.ist1, | 883 | ret = ibmebus_request_irq(NULL, pr->recv_eq->attr.ist1, |
884 | ehea_recv_irq_handler, | 884 | ehea_recv_irq_handler, |
885 | SA_INTERRUPT, pr->int_recv_name, pr); | 885 | IRQF_DISABLED, pr->int_recv_name, pr); |
886 | if (ret) { | 886 | if (ret) { |
887 | ehea_error("failed registering irq for ehea_recv_int:" | 887 | ehea_error("failed registering irq for ehea_recv_int:" |
888 | "port_res_nr:%d, ist=%X", i, | 888 | "port_res_nr:%d, ist=%X", i, |
@@ -899,7 +899,7 @@ static int ehea_reg_interrupts(struct net_device *dev) | |||
899 | 899 | ||
900 | ret = ibmebus_request_irq(NULL, port->qp_eq->attr.ist1, | 900 | ret = ibmebus_request_irq(NULL, port->qp_eq->attr.ist1, |
901 | ehea_qp_aff_irq_handler, | 901 | ehea_qp_aff_irq_handler, |
902 | SA_INTERRUPT, port->int_aff_name, port); | 902 | IRQF_DISABLED, port->int_aff_name, port); |
903 | if (ret) { | 903 | if (ret) { |
904 | ehea_error("failed registering irq for qp_aff_irq_handler:" | 904 | ehea_error("failed registering irq for qp_aff_irq_handler:" |
905 | "ist=%X", port->qp_eq->attr.ist1); | 905 | "ist=%X", port->qp_eq->attr.ist1); |
@@ -916,7 +916,7 @@ static int ehea_reg_interrupts(struct net_device *dev) | |||
916 | "%s-send%d", dev->name, i); | 916 | "%s-send%d", dev->name, i); |
917 | ret = ibmebus_request_irq(NULL, pr->send_eq->attr.ist1, | 917 | ret = ibmebus_request_irq(NULL, pr->send_eq->attr.ist1, |
918 | ehea_send_irq_handler, | 918 | ehea_send_irq_handler, |
919 | SA_INTERRUPT, pr->int_send_name, | 919 | IRQF_DISABLED, pr->int_send_name, |
920 | pr); | 920 | pr); |
921 | if (ret) { | 921 | if (ret) { |
922 | ehea_error("failed registering irq for ehea_send " | 922 | ehea_error("failed registering irq for ehea_send " |
@@ -2539,7 +2539,7 @@ static int __devinit ehea_probe(struct ibmebus_dev *dev, | |||
2539 | (unsigned long)adapter); | 2539 | (unsigned long)adapter); |
2540 | 2540 | ||
2541 | ret = ibmebus_request_irq(NULL, adapter->neq->attr.ist1, | 2541 | ret = ibmebus_request_irq(NULL, adapter->neq->attr.ist1, |
2542 | ehea_interrupt_neq, SA_INTERRUPT, | 2542 | ehea_interrupt_neq, IRQF_DISABLED, |
2543 | "ehea_neq", adapter); | 2543 | "ehea_neq", adapter); |
2544 | if (ret) { | 2544 | if (ret) { |
2545 | dev_err(&dev->ofdev.dev, "requesting NEQ IRQ failed"); | 2545 | dev_err(&dev->ofdev.dev, "requesting NEQ IRQ failed"); |
diff --git a/drivers/net/macb.c b/drivers/net/macb.c index e67361e2bf5..a41418b3c51 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c | |||
@@ -1077,7 +1077,7 @@ static int __devinit macb_probe(struct platform_device *pdev) | |||
1077 | } | 1077 | } |
1078 | 1078 | ||
1079 | dev->irq = platform_get_irq(pdev, 0); | 1079 | dev->irq = platform_get_irq(pdev, 0); |
1080 | err = request_irq(dev->irq, macb_interrupt, SA_SAMPLE_RANDOM, | 1080 | err = request_irq(dev->irq, macb_interrupt, IRQF_SAMPLE_RANDOM, |
1081 | dev->name, dev); | 1081 | dev->name, dev); |
1082 | if (err) { | 1082 | if (err) { |
1083 | printk(KERN_ERR | 1083 | printk(KERN_ERR |
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 69c1b9d23a1..36ba6a1aa36 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -619,8 +619,8 @@ static int netxen_nic_open(struct net_device *netdev) | |||
619 | } | 619 | } |
620 | adapter->irq = adapter->ahw.pdev->irq; | 620 | adapter->irq = adapter->ahw.pdev->irq; |
621 | err = request_irq(adapter->ahw.pdev->irq, &netxen_intr, | 621 | err = request_irq(adapter->ahw.pdev->irq, &netxen_intr, |
622 | SA_SHIRQ | SA_SAMPLE_RANDOM, netdev->name, | 622 | IRQF_SHARED | IRQF_SAMPLE_RANDOM, |
623 | adapter); | 623 | netdev->name, adapter); |
624 | if (err) { | 624 | if (err) { |
625 | printk(KERN_ERR "request_irq failed with: %d\n", err); | 625 | printk(KERN_ERR "request_irq failed with: %d\n", err); |
626 | netxen_free_hw_resources(adapter); | 626 | netxen_free_hw_resources(adapter); |
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index 2429b274f0b..a142cdfd947 100755 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c | |||
@@ -3228,7 +3228,7 @@ static int ql_adapter_up(struct ql3_adapter *qdev) | |||
3228 | { | 3228 | { |
3229 | struct net_device *ndev = qdev->ndev; | 3229 | struct net_device *ndev = qdev->ndev; |
3230 | int err; | 3230 | int err; |
3231 | unsigned long irq_flags = SA_SAMPLE_RANDOM | SA_SHIRQ; | 3231 | unsigned long irq_flags = IRQF_SAMPLE_RANDOM | IRQF_SHARED; |
3232 | unsigned long hw_flags; | 3232 | unsigned long hw_flags; |
3233 | 3233 | ||
3234 | if (ql_alloc_mem_resources(qdev)) { | 3234 | if (ql_alloc_mem_resources(qdev)) { |
@@ -3247,7 +3247,7 @@ static int ql_adapter_up(struct ql3_adapter *qdev) | |||
3247 | } else { | 3247 | } else { |
3248 | printk(KERN_INFO PFX "%s: MSI Enabled...\n", qdev->ndev->name); | 3248 | printk(KERN_INFO PFX "%s: MSI Enabled...\n", qdev->ndev->name); |
3249 | set_bit(QL_MSI_ENABLED,&qdev->flags); | 3249 | set_bit(QL_MSI_ENABLED,&qdev->flags); |
3250 | irq_flags &= ~SA_SHIRQ; | 3250 | irq_flags &= ~IRQF_SHARED; |
3251 | } | 3251 | } |
3252 | } | 3252 | } |
3253 | 3253 | ||
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index 31c97a6591a..a2fc2bbcf97 100644 --- a/drivers/net/ucc_geth.c +++ b/drivers/net/ucc_geth.c | |||
@@ -3939,8 +3939,8 @@ static void ugeth_phy_startup_timer(unsigned long data) | |||
3939 | /* Grab the PHY interrupt, if necessary/possible */ | 3939 | /* Grab the PHY interrupt, if necessary/possible */ |
3940 | if (ugeth->ug_info->board_flags & FSL_UGETH_BRD_HAS_PHY_INTR) { | 3940 | if (ugeth->ug_info->board_flags & FSL_UGETH_BRD_HAS_PHY_INTR) { |
3941 | if (request_irq(ugeth->ug_info->phy_interrupt, | 3941 | if (request_irq(ugeth->ug_info->phy_interrupt, |
3942 | phy_interrupt, | 3942 | phy_interrupt, IRQF_SHARED, |
3943 | SA_SHIRQ, "phy_interrupt", mii_info->dev) < 0) { | 3943 | "phy_interrupt", mii_info->dev) < 0) { |
3944 | ugeth_err("%s: Can't get IRQ %d (PHY)", | 3944 | ugeth_err("%s: Can't get IRQ %d (PHY)", |
3945 | mii_info->dev->name, | 3945 | mii_info->dev->name, |
3946 | ugeth->ug_info->phy_interrupt); | 3946 | ugeth->ug_info->phy_interrupt); |
diff --git a/drivers/pci/pcie/aer/aerdrv.c b/drivers/pci/pcie/aer/aerdrv.c index 6f5fabbd14e..b164de050d4 100644 --- a/drivers/pci/pcie/aer/aerdrv.c +++ b/drivers/pci/pcie/aer/aerdrv.c | |||
@@ -220,7 +220,7 @@ static int __devinit aer_probe (struct pcie_device *dev, | |||
220 | } | 220 | } |
221 | 221 | ||
222 | /* Request IRQ ISR */ | 222 | /* Request IRQ ISR */ |
223 | if ((status = request_irq(dev->irq, aer_irq, SA_SHIRQ, "aerdrv", | 223 | if ((status = request_irq(dev->irq, aer_irq, IRQF_SHARED, "aerdrv", |
224 | dev))) { | 224 | dev))) { |
225 | printk(KERN_DEBUG "%s: Request ISR fails on PCIE device[%s]\n", | 225 | printk(KERN_DEBUG "%s: Request ISR fails on PCIE device[%s]\n", |
226 | __FUNCTION__, device->bus_id); | 226 | __FUNCTION__, device->bus_id); |
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index d59880d44fb..9de8d67f4f8 100644 --- a/drivers/rtc/rtc-omap.c +++ b/drivers/rtc/rtc-omap.c | |||
@@ -417,13 +417,13 @@ static int __devinit omap_rtc_probe(struct platform_device *pdev) | |||
417 | rtc_write(OMAP_RTC_STATUS_ALARM, OMAP_RTC_STATUS_REG); | 417 | rtc_write(OMAP_RTC_STATUS_ALARM, OMAP_RTC_STATUS_REG); |
418 | 418 | ||
419 | /* handle periodic and alarm irqs */ | 419 | /* handle periodic and alarm irqs */ |
420 | if (request_irq(omap_rtc_timer, rtc_irq, SA_INTERRUPT, | 420 | if (request_irq(omap_rtc_timer, rtc_irq, IRQF_DISABLED, |
421 | rtc->class_dev.class_id, &rtc->class_dev)) { | 421 | rtc->class_dev.class_id, &rtc->class_dev)) { |
422 | pr_debug("%s: RTC timer interrupt IRQ%d already claimed\n", | 422 | pr_debug("%s: RTC timer interrupt IRQ%d already claimed\n", |
423 | pdev->name, omap_rtc_timer); | 423 | pdev->name, omap_rtc_timer); |
424 | goto fail0; | 424 | goto fail0; |
425 | } | 425 | } |
426 | if (request_irq(omap_rtc_alarm, rtc_irq, SA_INTERRUPT, | 426 | if (request_irq(omap_rtc_alarm, rtc_irq, IRQF_DISABLED, |
427 | rtc->class_dev.class_id, &rtc->class_dev)) { | 427 | rtc->class_dev.class_id, &rtc->class_dev)) { |
428 | pr_debug("%s: RTC alarm interrupt IRQ%d already claimed\n", | 428 | pr_debug("%s: RTC alarm interrupt IRQ%d already claimed\n", |
429 | pdev->name, omap_rtc_alarm); | 429 | pdev->name, omap_rtc_alarm); |
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index f406a2b55ae..9a79a24a748 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c | |||
@@ -350,7 +350,7 @@ static int s3c_rtc_open(struct device *dev) | |||
350 | int ret; | 350 | int ret; |
351 | 351 | ||
352 | ret = request_irq(s3c_rtc_alarmno, s3c_rtc_alarmirq, | 352 | ret = request_irq(s3c_rtc_alarmno, s3c_rtc_alarmirq, |
353 | SA_INTERRUPT, "s3c2410-rtc alarm", rtc_dev); | 353 | IRQF_DISABLED, "s3c2410-rtc alarm", rtc_dev); |
354 | 354 | ||
355 | if (ret) { | 355 | if (ret) { |
356 | dev_err(dev, "IRQ%d error %d\n", s3c_rtc_alarmno, ret); | 356 | dev_err(dev, "IRQ%d error %d\n", s3c_rtc_alarmno, ret); |
@@ -358,7 +358,7 @@ static int s3c_rtc_open(struct device *dev) | |||
358 | } | 358 | } |
359 | 359 | ||
360 | ret = request_irq(s3c_rtc_tickno, s3c_rtc_tickirq, | 360 | ret = request_irq(s3c_rtc_tickno, s3c_rtc_tickirq, |
361 | SA_INTERRUPT, "s3c2410-rtc tick", rtc_dev); | 361 | IRQF_DISABLED, "s3c2410-rtc tick", rtc_dev); |
362 | 362 | ||
363 | if (ret) { | 363 | if (ret) { |
364 | dev_err(dev, "IRQ%d error %d\n", s3c_rtc_tickno, ret); | 364 | dev_err(dev, "IRQ%d error %d\n", s3c_rtc_tickno, ret); |
diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c index bc7744e35ad..27852b43b90 100644 --- a/drivers/scsi/aic94xx/aic94xx_init.c +++ b/drivers/scsi/aic94xx/aic94xx_init.c | |||
@@ -653,7 +653,7 @@ static int __devinit asd_pci_probe(struct pci_dev *dev, | |||
653 | if (use_msi) | 653 | if (use_msi) |
654 | pci_enable_msi(asd_ha->pcidev); | 654 | pci_enable_msi(asd_ha->pcidev); |
655 | 655 | ||
656 | err = request_irq(asd_ha->pcidev->irq, asd_hw_isr, SA_SHIRQ, | 656 | err = request_irq(asd_ha->pcidev->irq, asd_hw_isr, IRQF_SHARED, |
657 | ASD_DRIVER_NAME, asd_ha); | 657 | ASD_DRIVER_NAME, asd_ha); |
658 | if (err) { | 658 | if (err) { |
659 | asd_printk("couldn't get irq %d for %s\n", | 659 | asd_printk("couldn't get irq %d for %s\n", |
diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index 086cc97eee8..8b46158cc04 100644 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c | |||
@@ -322,7 +322,7 @@ static int arcmsr_probe(struct pci_dev *pdev, | |||
322 | goto out_iounmap; | 322 | goto out_iounmap; |
323 | 323 | ||
324 | error = request_irq(pdev->irq, arcmsr_do_interrupt, | 324 | error = request_irq(pdev->irq, arcmsr_do_interrupt, |
325 | SA_INTERRUPT | SA_SHIRQ, "arcmsr", acb); | 325 | IRQF_DISABLED | IRQF_SHARED, "arcmsr", acb); |
326 | if (error) | 326 | if (error) |
327 | goto out_free_ccb_pool; | 327 | goto out_free_ccb_pool; |
328 | 328 | ||
diff --git a/drivers/scsi/ibmvscsi/ibmvstgt.c b/drivers/scsi/ibmvscsi/ibmvstgt.c index e28260f05d6..4368ca0e827 100644 --- a/drivers/scsi/ibmvscsi/ibmvstgt.c +++ b/drivers/scsi/ibmvscsi/ibmvstgt.c | |||
@@ -580,7 +580,7 @@ static int crq_queue_create(struct crq_queue *queue, struct srp_target *target) | |||
580 | } | 580 | } |
581 | 581 | ||
582 | err = request_irq(vport->dma_dev->irq, &ibmvstgt_interrupt, | 582 | err = request_irq(vport->dma_dev->irq, &ibmvstgt_interrupt, |
583 | SA_INTERRUPT, "ibmvstgt", target); | 583 | IRQF_DISABLED, "ibmvstgt", target); |
584 | if (err) | 584 | if (err) |
585 | goto req_irq_failed; | 585 | goto req_irq_failed; |
586 | 586 | ||
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 81fb7bd44f0..0bfddf893ed 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c | |||
@@ -1270,7 +1270,7 @@ static int __devinit qla4xxx_probe_adapter(struct pci_dev *pdev, | |||
1270 | INIT_WORK(&ha->dpc_work, qla4xxx_do_dpc); | 1270 | INIT_WORK(&ha->dpc_work, qla4xxx_do_dpc); |
1271 | 1271 | ||
1272 | ret = request_irq(pdev->irq, qla4xxx_intr_handler, | 1272 | ret = request_irq(pdev->irq, qla4xxx_intr_handler, |
1273 | SA_INTERRUPT|SA_SHIRQ, "qla4xxx", ha); | 1273 | IRQF_DISABLED | IRQF_SHARED, "qla4xxx", ha); |
1274 | if (ret) { | 1274 | if (ret) { |
1275 | dev_warn(&ha->pdev->dev, "Failed to reserve interrupt %d" | 1275 | dev_warn(&ha->pdev->dev, "Failed to reserve interrupt %d" |
1276 | " already in use.\n", pdev->irq); | 1276 | " already in use.\n", pdev->irq); |
diff --git a/drivers/usb/gadget/pxa2xx_udc.c b/drivers/usb/gadget/pxa2xx_udc.c index 2966bba1300..27904a56494 100644 --- a/drivers/usb/gadget/pxa2xx_udc.c +++ b/drivers/usb/gadget/pxa2xx_udc.c | |||
@@ -2613,7 +2613,7 @@ lubbock_fail0: | |||
2613 | #endif | 2613 | #endif |
2614 | if (vbus_irq) { | 2614 | if (vbus_irq) { |
2615 | retval = request_irq(vbus_irq, udc_vbus_irq, | 2615 | retval = request_irq(vbus_irq, udc_vbus_irq, |
2616 | SA_INTERRUPT | SA_SAMPLE_RANDOM, | 2616 | IRQF_DISABLED | IRQF_SAMPLE_RANDOM, |
2617 | driver_name, dev); | 2617 | driver_name, dev); |
2618 | if (retval != 0) { | 2618 | if (retval != 0) { |
2619 | printk(KERN_ERR "%s: can't get irq %i, err %d\n", | 2619 | printk(KERN_ERR "%s: can't get irq %i, err %d\n", |
diff --git a/drivers/usb/host/ohci-ep93xx.c b/drivers/usb/host/ohci-ep93xx.c index 44c60fba76e..a68ce9d3c52 100644 --- a/drivers/usb/host/ohci-ep93xx.c +++ b/drivers/usb/host/ohci-ep93xx.c | |||
@@ -78,7 +78,7 @@ static int usb_hcd_ep93xx_probe(const struct hc_driver *driver, | |||
78 | 78 | ||
79 | ohci_hcd_init(hcd_to_ohci(hcd)); | 79 | ohci_hcd_init(hcd_to_ohci(hcd)); |
80 | 80 | ||
81 | retval = usb_add_hcd(hcd, pdev->resource[1].start, SA_INTERRUPT); | 81 | retval = usb_add_hcd(hcd, pdev->resource[1].start, IRQF_DISABLED); |
82 | if (retval == 0) | 82 | if (retval == 0) |
83 | return retval; | 83 | return retval; |
84 | 84 | ||
diff --git a/drivers/usb/host/ohci-pnx4008.c b/drivers/usb/host/ohci-pnx4008.c index 893b172384d..d601bbb9387 100644 --- a/drivers/usb/host/ohci-pnx4008.c +++ b/drivers/usb/host/ohci-pnx4008.c | |||
@@ -421,7 +421,7 @@ static int __devinit usb_hcd_pnx4008_probe(struct platform_device *pdev) | |||
421 | ohci_hcd_init(ohci); | 421 | ohci_hcd_init(ohci); |
422 | 422 | ||
423 | dev_info(&pdev->dev, "at 0x%p, irq %d\n", hcd->regs, hcd->irq); | 423 | dev_info(&pdev->dev, "at 0x%p, irq %d\n", hcd->regs, hcd->irq); |
424 | ret = usb_add_hcd(hcd, irq, SA_INTERRUPT); | 424 | ret = usb_add_hcd(hcd, irq, IRQF_DISABLED); |
425 | if (ret == 0) | 425 | if (ret == 0) |
426 | return ret; | 426 | return ret; |
427 | 427 | ||
diff --git a/drivers/usb/host/ohci-pnx8550.c b/drivers/usb/host/ohci-pnx8550.c index de45eb0051a..85fdfd2a7ad 100644 --- a/drivers/usb/host/ohci-pnx8550.c +++ b/drivers/usb/host/ohci-pnx8550.c | |||
@@ -107,7 +107,7 @@ int usb_hcd_pnx8550_probe (const struct hc_driver *driver, | |||
107 | 107 | ||
108 | ohci_hcd_init(hcd_to_ohci(hcd)); | 108 | ohci_hcd_init(hcd_to_ohci(hcd)); |
109 | 109 | ||
110 | retval = usb_add_hcd(hcd, dev->resource[1].start, SA_INTERRUPT); | 110 | retval = usb_add_hcd(hcd, dev->resource[1].start, IRQF_DISABLED); |
111 | if (retval == 0) | 111 | if (retval == 0) |
112 | return retval; | 112 | return retval; |
113 | 113 | ||
diff --git a/drivers/video/intelfb/intelfbhw.c b/drivers/video/intelfb/intelfbhw.c index a95836839e1..c1eb18bf088 100644 --- a/drivers/video/intelfb/intelfbhw.c +++ b/drivers/video/intelfb/intelfbhw.c | |||
@@ -1990,7 +1990,8 @@ int | |||
1990 | intelfbhw_enable_irq(struct intelfb_info *dinfo, int reenable) { | 1990 | intelfbhw_enable_irq(struct intelfb_info *dinfo, int reenable) { |
1991 | 1991 | ||
1992 | if (!test_and_set_bit(0, &dinfo->irq_flags)) { | 1992 | if (!test_and_set_bit(0, &dinfo->irq_flags)) { |
1993 | if (request_irq(dinfo->pdev->irq, intelfbhw_irq, SA_SHIRQ, "intelfb", dinfo)) { | 1993 | if (request_irq(dinfo->pdev->irq, intelfbhw_irq, IRQF_SHARED, |
1994 | "intelfb", dinfo)) { | ||
1994 | clear_bit(0, &dinfo->irq_flags); | 1995 | clear_bit(0, &dinfo->irq_flags); |
1995 | return -EINVAL; | 1996 | return -EINVAL; |
1996 | } | 1997 | } |