Skip to content

Commit dace145

Browse files
KAGA-KOKOLinus Torvalds
authored andcommitted
[PATCH] irq-flags: misc drivers: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 8076fe3 commit dace145

73 files changed

Lines changed: 104 additions & 104 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎drivers/acorn/block/mfmhd.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ static int mfm_do_init(unsigned char irqmask)
12781278

12791279
printk("mfm: detected %d hard drive%s\n", mfm_drives,
12801280
mfm_drives == 1 ? "" : "s");
1281-
ret = request_irq(mfm_irq, mfm_interrupt_handler, SA_INTERRUPT, "MFM harddisk", NULL);
1281+
ret = request_irq(mfm_irq, mfm_interrupt_handler, IRQF_DISABLED, "MFM harddisk", NULL);
12821282
if (ret) {
12831283
printk("mfm: unable to get IRQ%d\n", mfm_irq);
12841284
goto out4;

‎drivers/acpi/osl.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ acpi_os_install_interrupt_handler(u32 gsi, acpi_osd_handler handler,
280280

281281
acpi_irq_handler = handler;
282282
acpi_irq_context = context;
283-
if (request_irq(irq, acpi_irq, SA_SHIRQ, "acpi", acpi_irq)) {
283+
if (request_irq(irq, acpi_irq, IRQF_SHARED, "acpi", acpi_irq)) {
284284
printk(KERN_ERR PREFIX "SCI (IRQ%d) allocation failed\n", irq);
285285
return AE_NOT_ACQUIRED;
286286
}

‎drivers/atm/ambassador.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2286,7 +2286,7 @@ static int __devinit amb_probe(struct pci_dev *pci_dev, const struct pci_device_
22862286
setup_pci_dev(pci_dev);
22872287

22882288
// grab (but share) IRQ and install handler
2289-
err = request_irq(irq, interrupt_handler, SA_SHIRQ, DEV_LABEL, dev);
2289+
err = request_irq(irq, interrupt_handler, IRQF_SHARED, DEV_LABEL, dev);
22902290
if (err < 0) {
22912291
PRINTK (KERN_ERR, "request IRQ failed!");
22922292
goto out_reset;

‎drivers/atm/eni.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,7 @@ static int __devinit eni_start(struct atm_dev *dev)
17971797

17981798
DPRINTK(">eni_start\n");
17991799
eni_dev = ENI_DEV(dev);
1800-
if (request_irq(eni_dev->irq,&eni_int,SA_SHIRQ,DEV_LABEL,dev)) {
1800+
if (request_irq(eni_dev->irq,&eni_int,IRQF_SHARED,DEV_LABEL,dev)) {
18011801
printk(KERN_ERR DEV_LABEL "(itf %d): IRQ%d is already in use\n",
18021802
dev->number,eni_dev->irq);
18031803
error = -EAGAIN;

‎drivers/atm/firestream.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ static int __devinit fs_init (struct fs_dev *dev)
18291829
init_q (dev, &dev->rx_rq[i], RXB_RQ(i), RXRQ_NENTRIES, 1);
18301830

18311831
dev->irq = pci_dev->irq;
1832-
if (request_irq (dev->irq, fs_irq, SA_SHIRQ, "firestream", dev)) {
1832+
if (request_irq (dev->irq, fs_irq, IRQF_SHARED, "firestream", dev)) {
18331833
printk (KERN_WARNING "couldn't get irq %d for firestream.\n", pci_dev->irq);
18341834
/* XXX undo all previous stuff... */
18351835
return 1;

‎drivers/atm/fore200e.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2123,7 +2123,7 @@ fore200e_change_qos(struct atm_vcc* vcc,struct atm_qos* qos, int flags)
21232123
static int __devinit
21242124
fore200e_irq_request(struct fore200e* fore200e)
21252125
{
2126-
if (request_irq(fore200e->irq, fore200e_interrupt, SA_SHIRQ, fore200e->name, fore200e->atm_dev) < 0) {
2126+
if (request_irq(fore200e->irq, fore200e_interrupt, IRQF_SHARED, fore200e->name, fore200e->atm_dev) < 0) {
21272127

21282128
printk(FORE200E "unable to reserve IRQ %s for device %s\n",
21292129
fore200e_irq_itoa(fore200e->irq), fore200e->name);

‎drivers/atm/he.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ he_init_irq(struct he_dev *he_dev)
10071007
he_writel(he_dev, 0x0, GRP_54_MAP);
10081008
he_writel(he_dev, 0x0, GRP_76_MAP);
10091009

1010-
if (request_irq(he_dev->pci_dev->irq, he_irq_handler, SA_INTERRUPT|SA_SHIRQ, DEV_LABEL, he_dev)) {
1010+
if (request_irq(he_dev->pci_dev->irq, he_irq_handler, IRQF_DISABLED|IRQF_SHARED, DEV_LABEL, he_dev)) {
10111011
hprintk("irq %d already in use\n", he_dev->pci_dev->irq);
10121012
return -EINVAL;
10131013
}

‎drivers/atm/horizon.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2735,7 +2735,7 @@ static int __devinit hrz_probe(struct pci_dev *pci_dev, const struct pci_device_
27352735
irq = pci_dev->irq;
27362736
if (request_irq(irq,
27372737
interrupt_handler,
2738-
SA_SHIRQ, /* irqflags guess */
2738+
IRQF_SHARED, /* irqflags guess */
27392739
DEV_LABEL, /* name guess */
27402740
dev)) {
27412741
PRINTD(DBG_WARN, "request IRQ failed!");

‎drivers/atm/idt77252.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3386,7 +3386,7 @@ init_card(struct atm_dev *dev)
33863386
writel(SAR_STAT_TMROF, SAR_REG_STAT);
33873387
}
33883388
IPRINTK("%s: Request IRQ ... ", card->name);
3389-
if (request_irq(pcidev->irq, idt77252_interrupt, SA_INTERRUPT|SA_SHIRQ,
3389+
if (request_irq(pcidev->irq, idt77252_interrupt, IRQF_DISABLED|IRQF_SHARED,
33903390
card->name, card) != 0) {
33913391
printk("%s: can't allocate IRQ.\n", card->name);
33923392
deinit_card(card);

‎drivers/atm/iphase.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2488,7 +2488,7 @@ static int __devinit ia_start(struct atm_dev *dev)
24882488
u32 ctrl_reg;
24892489
IF_EVENT(printk(">ia_start\n");)
24902490
iadev = INPH_IA_DEV(dev);
2491-
if (request_irq(iadev->irq, &ia_int, SA_SHIRQ, DEV_LABEL, dev)) {
2491+
if (request_irq(iadev->irq, &ia_int, IRQF_SHARED, DEV_LABEL, dev)) {
24922492
printk(KERN_ERR DEV_LABEL "(itf %d): IRQ%d is already in use\n",
24932493
dev->number, iadev->irq);
24942494
error = -EAGAIN;

0 commit comments

Comments
 (0)