Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] irq-flags: drivers/char: 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>

authored by

Thomas Gleixner and committed by
Linus Torvalds
0f2ed4c6 69ab3912

+77 -77
+1 -1
drivers/char/amiserial.c
··· 2051 2051 2052 2052 /* set ISRs, and then disable the rx interrupts */ 2053 2053 request_irq(IRQ_AMIGA_TBE, ser_tx_int, 0, "serial TX", state); 2054 - request_irq(IRQ_AMIGA_RBF, ser_rx_int, SA_INTERRUPT, "serial RX", state); 2054 + request_irq(IRQ_AMIGA_RBF, ser_rx_int, IRQF_DISABLED, "serial RX", state); 2055 2055 2056 2056 /* turn off Rx and Tx interrupts */ 2057 2057 custom.intena = IF_RBF | IF_TBE;
+2 -2
drivers/char/applicom.c
··· 229 229 continue; 230 230 } 231 231 232 - if (request_irq(dev->irq, &ac_interrupt, SA_SHIRQ, "Applicom PCI", &dummy)) { 232 + if (request_irq(dev->irq, &ac_interrupt, IRQF_SHARED, "Applicom PCI", &dummy)) { 233 233 printk(KERN_INFO "Could not allocate IRQ %d for PCI Applicom device.\n", dev->irq); 234 234 iounmap(RamIO); 235 235 pci_disable_device(dev); ··· 276 276 printk(KERN_NOTICE "Applicom ISA card found at mem 0x%lx, irq %d\n", mem + (LEN_RAM_IO*i), irq); 277 277 278 278 if (!numisa) { 279 - if (request_irq(irq, &ac_interrupt, SA_SHIRQ, "Applicom ISA", &dummy)) { 279 + if (request_irq(irq, &ac_interrupt, IRQF_SHARED, "Applicom ISA", &dummy)) { 280 280 printk(KERN_WARNING "Could not allocate IRQ %d for ISA Applicom device.\n", irq); 281 281 iounmap(RamIO); 282 282 apbs[boardno - 1].RamIO = NULL;
+4 -4
drivers/char/cyclades.c
··· 4612 4612 4613 4613 /* allocate IRQ */ 4614 4614 if(request_irq(cy_isa_irq, cyy_interrupt, 4615 - SA_INTERRUPT, "Cyclom-Y", &cy_card[j])) 4615 + IRQF_DISABLED, "Cyclom-Y", &cy_card[j])) 4616 4616 { 4617 4617 printk("Cyclom-Y/ISA found at 0x%lx ", 4618 4618 (unsigned long) cy_isa_address); ··· 4785 4785 4786 4786 /* allocate IRQ */ 4787 4787 if(request_irq(cy_pci_irq, cyy_interrupt, 4788 - SA_SHIRQ, "Cyclom-Y", &cy_card[j])) 4788 + IRQF_SHARED, "Cyclom-Y", &cy_card[j])) 4789 4789 { 4790 4790 printk("Cyclom-Y/PCI found at 0x%lx ", 4791 4791 (ulong) cy_pci_phys2); ··· 4965 4965 /* allocate IRQ only if board has an IRQ */ 4966 4966 if( (cy_pci_irq != 0) && (cy_pci_irq != 255) ) { 4967 4967 if(request_irq(cy_pci_irq, cyz_interrupt, 4968 - SA_SHIRQ, "Cyclades-Z", &cy_card[j])) 4968 + IRQF_SHARED, "Cyclades-Z", &cy_card[j])) 4969 4969 { 4970 4970 printk("Cyclom-8Zo/PCI found at 0x%lx ", 4971 4971 (ulong) cy_pci_phys2); ··· 5059 5059 /* allocate IRQ only if board has an IRQ */ 5060 5060 if( (cy_pci_irq != 0) && (cy_pci_irq != 255) ) { 5061 5061 if(request_irq(cy_pci_irq, cyz_interrupt, 5062 - SA_SHIRQ, "Cyclades-Z", &cy_card[j])) 5062 + IRQF_SHARED, "Cyclades-Z", &cy_card[j])) 5063 5063 { 5064 5064 printk("Cyclom-Ze/PCI found at 0x%lx ", 5065 5065 (ulong) cy_pci_phys2);
+1 -1
drivers/char/esp.c
··· 883 883 * Allocate the IRQ 884 884 */ 885 885 886 - retval = request_irq(info->irq, rs_interrupt_single, SA_SHIRQ, 886 + retval = request_irq(info->irq, rs_interrupt_single, IRQF_SHARED, 887 887 "esp serial", info); 888 888 889 889 if (retval) {
+1 -1
drivers/char/ftape/lowlevel/fdc-io.c
··· 1268 1268 /* Get fast interrupt handler. 1269 1269 */ 1270 1270 if (request_irq(fdc.irq, ftape_interrupt, 1271 - SA_INTERRUPT, "ft", ftape_id)) { 1271 + IRQF_DISABLED, "ft", ftape_id)) { 1272 1272 TRACE_ABORT(-EIO, ft_t_bug, 1273 1273 "Unable to grab IRQ%d for ftape driver", 1274 1274 fdc.irq);
+1 -1
drivers/char/hpet.c
··· 395 395 396 396 sprintf(devp->hd_name, "hpet%d", (int)(devp - hpetp->hp_dev)); 397 397 irq_flags = devp->hd_flags & HPET_SHARED_IRQ 398 - ? SA_SHIRQ : SA_INTERRUPT; 398 + ? IRQF_SHARED : IRQF_DISABLED; 399 399 if (request_irq(irq, hpet_interrupt, irq_flags, 400 400 devp->hd_name, (void *)devp)) { 401 401 printk(KERN_ERR "hpet: IRQ %d is not free\n", irq);
+1 -1
drivers/char/hvc_console.c
··· 346 346 spin_unlock_irqrestore(&hp->lock, flags); 347 347 /* check error, fallback to non-irq */ 348 348 if (irq != NO_IRQ) 349 - rc = request_irq(irq, hvc_handle_interrupt, SA_INTERRUPT, "hvc_console", hp); 349 + rc = request_irq(irq, hvc_handle_interrupt, IRQF_DISABLED, "hvc_console", hp); 350 350 351 351 /* 352 352 * If the request_irq() fails and we return an error. The tty layer
+1 -1
drivers/char/hvcs.c
··· 899 899 * the conn was registered and now. 900 900 */ 901 901 if (!(rc = request_irq(irq, &hvcs_handle_interrupt, 902 - SA_INTERRUPT, "ibmhvcs", hvcsd))) { 902 + IRQF_DISABLED, "ibmhvcs", hvcsd))) { 903 903 /* 904 904 * It is possible the vty-server was removed after the irq was 905 905 * requested but before we have time to enable interrupts.
+1 -1
drivers/char/hvsi.c
··· 1168 1168 struct hvsi_struct *hp = &hvsi_ports[i]; 1169 1169 int ret = 1; 1170 1170 1171 - ret = request_irq(hp->virq, hvsi_interrupt, SA_INTERRUPT, "hvsi", hp); 1171 + ret = request_irq(hp->virq, hvsi_interrupt, IRQF_DISABLED, "hvsi", hp); 1172 1172 if (ret) 1173 1173 printk(KERN_ERR "HVSI: couldn't reserve irq 0x%x (error %i)\n", 1174 1174 hp->virq, ret);
+3 -3
drivers/char/ip2/ip2main.c
··· 491 491 /* initialisation of the devices and driver structures, and registers itself */ 492 492 /* with the relevant kernel modules. */ 493 493 /******************************************************************************/ 494 - /* SA_INTERRUPT- if set blocks all interrupts else only this line */ 495 - /* SA_SHIRQ - for shared irq PCI or maybe EISA only */ 494 + /* IRQF_DISABLED - if set blocks all interrupts else only this line */ 495 + /* IRQF_SHARED - for shared irq PCI or maybe EISA only */ 496 496 /* SA_RANDOM - can be source for cert. random number generators */ 497 497 #define IP2_SA_FLAGS 0 498 498 ··· 753 753 if (have_requested_irq(ip2config.irq[i])) 754 754 continue; 755 755 rc = request_irq( ip2config.irq[i], ip2_interrupt, 756 - IP2_SA_FLAGS | (ip2config.type[i] == PCI ? SA_SHIRQ : 0), 756 + IP2_SA_FLAGS | (ip2config.type[i] == PCI ? IRQF_SHARED : 0), 757 757 pcName, (void *)&pcName); 758 758 if (rc) { 759 759 printk(KERN_ERR "IP2: an request_irq failed: error %d\n",rc);
+2 -2
drivers/char/ipmi/ipmi_si_intf.c
··· 1041 1041 if (info->si_type == SI_BT) { 1042 1042 rv = request_irq(info->irq, 1043 1043 si_bt_irq_handler, 1044 - SA_INTERRUPT, 1044 + IRQF_DISABLED, 1045 1045 DEVICE_NAME, 1046 1046 info); 1047 1047 if (!rv) ··· 1051 1051 } else 1052 1052 rv = request_irq(info->irq, 1053 1053 si_irq_handler, 1054 - SA_INTERRUPT, 1054 + IRQF_DISABLED, 1055 1055 DEVICE_NAME, 1056 1056 info); 1057 1057 if (rv) {
+2 -2
drivers/char/isicom.c
··· 1614 1614 const unsigned int index) 1615 1615 { 1616 1616 struct isi_board *board = pci_get_drvdata(pdev); 1617 - unsigned long irqflags = SA_INTERRUPT; 1617 + unsigned long irqflags = IRQF_DISABLED; 1618 1618 int retval = -EINVAL; 1619 1619 1620 1620 if (!board->base) 1621 1621 goto end; 1622 1622 1623 1623 if (board->isa == NO) 1624 - irqflags |= SA_SHIRQ; 1624 + irqflags |= IRQF_SHARED; 1625 1625 1626 1626 retval = request_irq(board->irq, isicom_interrupt, irqflags, 1627 1627 ISICOM_NAME, board);
+1 -1
drivers/char/ite_gpio.c
··· 397 397 init_waitqueue_head(&ite_gpio_wait[i]); 398 398 } 399 399 400 - if (request_irq(ite_gpio_irq, ite_gpio_irq_handler, SA_SHIRQ, "gpio", 0) < 0) { 400 + if (request_irq(ite_gpio_irq, ite_gpio_irq_handler, IRQF_SHARED, "gpio", 0) < 0) { 401 401 misc_deregister(&ite_gpio_miscdev); 402 402 release_region(ite_gpio_base, 0x1c); 403 403 return 0;
+3 -3
drivers/char/mbcs.c
··· 592 592 getdma->intrHostDest = sn_irq->irq_xtalkaddr; 593 593 getdma->intrVector = sn_irq->irq_irq; 594 594 if (request_irq(sn_irq->irq_irq, 595 - (void *)mbcs_completion_intr_handler, SA_SHIRQ, 595 + (void *)mbcs_completion_intr_handler, IRQF_SHARED, 596 596 "MBCS get intr", (void *)soft)) { 597 597 tiocx_irq_free(soft->get_sn_irq); 598 598 return -EAGAIN; ··· 608 608 putdma->intrHostDest = sn_irq->irq_xtalkaddr; 609 609 putdma->intrVector = sn_irq->irq_irq; 610 610 if (request_irq(sn_irq->irq_irq, 611 - (void *)mbcs_completion_intr_handler, SA_SHIRQ, 611 + (void *)mbcs_completion_intr_handler, IRQF_SHARED, 612 612 "MBCS put intr", (void *)soft)) { 613 613 tiocx_irq_free(soft->put_sn_irq); 614 614 free_irq(soft->get_sn_irq->irq_irq, soft); ··· 628 628 algo->intrHostDest = sn_irq->irq_xtalkaddr; 629 629 algo->intrVector = sn_irq->irq_irq; 630 630 if (request_irq(sn_irq->irq_irq, 631 - (void *)mbcs_completion_intr_handler, SA_SHIRQ, 631 + (void *)mbcs_completion_intr_handler, IRQF_SHARED, 632 632 "MBCS algo intr", (void *)soft)) { 633 633 tiocx_irq_free(soft->algo_sn_irq); 634 634 free_irq(soft->put_sn_irq->irq_irq, soft);
+1 -1
drivers/char/mmtimer.c
··· 687 687 mmtimer_femtoperiod = ((unsigned long)1E15 + sn_rtc_cycles_per_second / 688 688 2) / sn_rtc_cycles_per_second; 689 689 690 - if (request_irq(SGI_MMTIMER_VECTOR, mmtimer_interrupt, SA_PERCPU_IRQ, MMTIMER_NAME, NULL)) { 690 + if (request_irq(SGI_MMTIMER_VECTOR, mmtimer_interrupt, IRQF_PERCPU, MMTIMER_NAME, NULL)) { 691 691 printk(KERN_WARNING "%s: unable to allocate interrupt.", 692 692 MMTIMER_NAME); 693 693 return -1;
+1 -1
drivers/char/mxser.c
··· 94 94 #define RELEVANT_IFLAG(iflag) (iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK|\ 95 95 IXON|IXOFF)) 96 96 97 - #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? SA_SHIRQ : SA_INTERRUPT) 97 + #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? IRQF_SHARED : IRQF_DISABLED) 98 98 99 99 #define C168_ASIC_ID 1 100 100 #define C104_ASIC_ID 2
+1 -1
drivers/char/nwbutton.c
··· 223 223 return -EBUSY; 224 224 } 225 225 226 - if (request_irq (IRQ_NETWINDER_BUTTON, button_handler, SA_INTERRUPT, 226 + if (request_irq (IRQ_NETWINDER_BUTTON, button_handler, IRQF_DISABLED, 227 227 "nwbutton", NULL)) { 228 228 printk (KERN_WARNING "nwbutton: IRQ %d is not free.\n", 229 229 IRQ_NETWINDER_BUTTON);
+1 -1
drivers/char/qtronix.c
··· 144 144 cir_port_init(cir); 145 145 146 146 retval = request_irq(IT8172_CIR0_IRQ, kbd_int_handler, 147 - (unsigned long )(SA_INTERRUPT|SA_SHIRQ), 147 + (unsigned long )(IRQF_DISABLED|IRQF_SHARED), 148 148 (const char *)"Qtronix IR Keyboard", (void *)cir); 149 149 150 150 if (retval) {
+1 -1
drivers/char/riscom8.c
··· 625 625 if (bp->flags & RC_BOARD_ACTIVE) 626 626 return 0; 627 627 628 - error = request_irq(bp->irq, rc_interrupt, SA_INTERRUPT, 628 + error = request_irq(bp->irq, rc_interrupt, IRQF_DISABLED, 629 629 "RISCom/8", NULL); 630 630 if (error) 631 631 return error;
+3 -3
drivers/char/rtc.c
··· 220 220 221 221 #ifdef RTC_IRQ 222 222 /* 223 - * A very tiny interrupt handler. It runs with SA_INTERRUPT set, 223 + * A very tiny interrupt handler. It runs with IRQF_DISABLED set, 224 224 * but there is possibility of conflicting with the set_rtc_mmss() 225 225 * call (the rtc irq and the timer irq can easily run at the same 226 226 * time in two different CPUs). So we need to serialize ··· 958 958 * XXX Interrupt pin #7 in Espresso is shared between RTC and 959 959 * PCI Slot 2 INTA# (and some INTx# in Slot 1). 960 960 */ 961 - if (request_irq(rtc_irq, rtc_interrupt, SA_SHIRQ, "rtc", (void *)&rtc_port)) { 961 + if (request_irq(rtc_irq, rtc_interrupt, IRQF_SHARED, "rtc", (void *)&rtc_port)) { 962 962 printk(KERN_ERR "rtc: cannot register IRQ %d\n", rtc_irq); 963 963 return -EIO; 964 964 } ··· 976 976 rtc_int_handler_ptr = rtc_interrupt; 977 977 } 978 978 979 - if(request_irq(RTC_IRQ, rtc_int_handler_ptr, SA_INTERRUPT, "rtc", NULL)) { 979 + if(request_irq(RTC_IRQ, rtc_int_handler_ptr, IRQF_DISABLED, "rtc", NULL)) { 980 980 /* Yeah right, seeing as irq 8 doesn't even hit the bus. */ 981 981 printk(KERN_ERR "rtc: IRQ %d is not free.\n", RTC_IRQ); 982 982 release_region(RTC_PORT(0), RTC_IO_EXTENT);
+2 -2
drivers/char/s3c2410-rtc.c
··· 341 341 int ret; 342 342 343 343 ret = request_irq(s3c2410_rtc_alarmno, s3c2410_rtc_alarmirq, 344 - SA_INTERRUPT, "s3c2410-rtc alarm", NULL); 344 + IRQF_DISABLED, "s3c2410-rtc alarm", NULL); 345 345 346 346 if (ret) 347 347 printk(KERN_ERR "IRQ%d already in use\n", s3c2410_rtc_alarmno); 348 348 349 349 ret = request_irq(s3c2410_rtc_tickno, s3c2410_rtc_tickirq, 350 - SA_INTERRUPT, "s3c2410-rtc tick", NULL); 350 + IRQF_DISABLED, "s3c2410-rtc tick", NULL); 351 351 352 352 if (ret) { 353 353 printk(KERN_ERR "IRQ%d already in use\n", s3c2410_rtc_tickno);
+1 -1
drivers/char/snsc.c
··· 105 105 106 106 /* hook this subchannel up to the system controller interrupt */ 107 107 rv = request_irq(SGI_UART_VECTOR, scdrv_interrupt, 108 - SA_SHIRQ | SA_INTERRUPT, 108 + IRQF_SHARED | IRQF_DISABLED, 109 109 SYSCTL_BASENAME, sd); 110 110 if (rv) { 111 111 ia64_sn_irtr_close(sd->sd_nasid, sd->sd_subch);
+1 -1
drivers/char/snsc_event.c
··· 310 310 311 311 /* hook event subchannel up to the system controller interrupt */ 312 312 rv = request_irq(SGI_UART_VECTOR, scdrv_event_interrupt, 313 - SA_SHIRQ | SA_INTERRUPT, 313 + IRQF_SHARED | IRQF_DISABLED, 314 314 "system controller events", event_sd); 315 315 if (rv) { 316 316 printk(KERN_WARNING "%s: irq request failed (%d)\n",
+1 -1
drivers/char/sonypi.c
··· 1282 1282 while (irq_list->irq) { 1283 1283 1284 1284 if (!request_irq(irq_list->irq, sonypi_irq, 1285 - SA_SHIRQ, "sonypi", sonypi_irq)) { 1285 + IRQF_SHARED, "sonypi", sonypi_irq)) { 1286 1286 dev->irq = irq_list->irq; 1287 1287 dev->bits = irq_list->bits; 1288 1288 return 0;
+2 -2
drivers/char/specialix.c
··· 1015 1015 return 0; 1016 1016 1017 1017 if (bp->flags & SX_BOARD_IS_PCI) 1018 - error = request_irq(bp->irq, sx_interrupt, SA_INTERRUPT | SA_SHIRQ, "specialix IO8+", bp); 1018 + error = request_irq(bp->irq, sx_interrupt, IRQF_DISABLED | IRQF_SHARED, "specialix IO8+", bp); 1019 1019 else 1020 - error = request_irq(bp->irq, sx_interrupt, SA_INTERRUPT, "specialix IO8+", bp); 1020 + error = request_irq(bp->irq, sx_interrupt, IRQF_DISABLED, "specialix IO8+", bp); 1021 1021 1022 1022 if (error) 1023 1023 return error;
+2 -2
drivers/char/stallion.c
··· 2302 2302 brdp->nrpanels = 1; 2303 2303 brdp->state |= BRD_FOUND; 2304 2304 brdp->hwid = status; 2305 - if (request_irq(brdp->irq, stl_intr, SA_SHIRQ, name, brdp) != 0) { 2305 + if (request_irq(brdp->irq, stl_intr, IRQF_SHARED, name, brdp) != 0) { 2306 2306 printk("STALLION: failed to register interrupt " 2307 2307 "routine for %s irq=%d\n", name, brdp->irq); 2308 2308 rc = -ENODEV; ··· 2512 2512 outb((brdp->ioctrlval | ECH_BRDDISABLE), brdp->ioctrl); 2513 2513 2514 2514 brdp->state |= BRD_FOUND; 2515 - if (request_irq(brdp->irq, stl_intr, SA_SHIRQ, name, brdp) != 0) { 2515 + if (request_irq(brdp->irq, stl_intr, IRQF_SHARED, name, brdp) != 0) { 2516 2516 printk("STALLION: failed to register interrupt " 2517 2517 "routine for %s irq=%d\n", name, brdp->irq); 2518 2518 i = -ENODEV;
+2 -2
drivers/char/sx.c
··· 1993 1993 if(board->irq > 0) { 1994 1994 /* fixed irq, probably PCI */ 1995 1995 if(sx_irqmask & (1 << board->irq)) { /* may we use this irq? */ 1996 - if(request_irq(board->irq, sx_interrupt, SA_SHIRQ | SA_INTERRUPT, "sx", board)) { 1996 + if(request_irq(board->irq, sx_interrupt, IRQF_SHARED | IRQF_DISABLED, "sx", board)) { 1997 1997 printk(KERN_ERR "sx: Cannot allocate irq %d.\n", board->irq); 1998 1998 board->irq = 0; 1999 1999 } ··· 2005 2005 int irqmask = sx_irqmask & (IS_SX_BOARD(board) ? SX_ISA_IRQ_MASK : SI2_ISA_IRQ_MASK); 2006 2006 for(irqnr = 15; irqnr > 0; irqnr--) 2007 2007 if(irqmask & (1 << irqnr)) 2008 - if(! request_irq(irqnr, sx_interrupt, SA_SHIRQ | SA_INTERRUPT, "sx", board)) 2008 + if(! request_irq(irqnr, sx_interrupt, IRQF_SHARED | IRQF_DISABLED, "sx", board)) 2009 2009 break; 2010 2010 if(! irqnr) 2011 2011 printk(KERN_ERR "sx: Cannot allocate IRQ.\n");
+1 -1
drivers/char/synclink.c
··· 8150 8150 8151 8151 info->bus_type = MGSL_BUS_TYPE_PCI; 8152 8152 info->io_addr_size = 8; 8153 - info->irq_flags = SA_SHIRQ; 8153 + info->irq_flags = IRQF_SHARED; 8154 8154 8155 8155 if (dev->device == 0x0210) { 8156 8156 /* Version 1 PCI9030 based universal PCI adapter */
+1 -1
drivers/char/synclinkmp.c
··· 3835 3835 info->phys_statctrl_base &= ~(PAGE_SIZE-1); 3836 3836 3837 3837 info->bus_type = MGSL_BUS_TYPE_PCI; 3838 - info->irq_flags = SA_SHIRQ; 3838 + info->irq_flags = IRQF_SHARED; 3839 3839 3840 3840 init_timer(&info->tx_timer); 3841 3841 info->tx_timer.data = (unsigned long)info;
+1 -1
drivers/char/tlclk.c
··· 208 208 /* This device is wired through the FPGA IO space of the ATCA blade 209 209 * we can't share this IRQ */ 210 210 result = request_irq(telclk_interrupt, &tlclk_interrupt, 211 - SA_INTERRUPT, "telco_clock", tlclk_interrupt); 211 + IRQF_DISABLED, "telco_clock", tlclk_interrupt); 212 212 if (result == -EBUSY) { 213 213 printk(KERN_ERR "tlclk: Interrupt can't be reserved.\n"); 214 214 return -EBUSY;
+2 -2
drivers/char/tpm/tpm_tis.c
··· 522 522 iowrite8(i, chip->vendor.iobase + 523 523 TPM_INT_VECTOR(chip->vendor.locality)); 524 524 if (request_irq 525 - (i, tis_int_probe, SA_SHIRQ, 525 + (i, tis_int_probe, IRQF_SHARED, 526 526 chip->vendor.miscdev.name, chip) != 0) { 527 527 dev_info(chip->dev, 528 528 "Unable to request irq: %d for probe\n", ··· 557 557 chip->vendor.iobase + 558 558 TPM_INT_VECTOR(chip->vendor.locality)); 559 559 if (request_irq 560 - (chip->vendor.irq, tis_int_handler, SA_SHIRQ, 560 + (chip->vendor.irq, tis_int_handler, IRQF_SHARED, 561 561 chip->vendor.miscdev.name, chip) != 0) { 562 562 dev_info(chip->dev, 563 563 "Unable to request irq: %d for use\n",
+24 -24
drivers/char/vme_scc.c
··· 203 203 port->datap = port->ctrlp + 1; 204 204 port->port_a = &scc_ports[0]; 205 205 port->port_b = &scc_ports[1]; 206 - request_irq(MVME147_IRQ_SCCA_TX, scc_tx_int, SA_INTERRUPT, 206 + request_irq(MVME147_IRQ_SCCA_TX, scc_tx_int, IRQF_DISABLED, 207 207 "SCC-A TX", port); 208 - request_irq(MVME147_IRQ_SCCA_STAT, scc_stat_int, SA_INTERRUPT, 208 + request_irq(MVME147_IRQ_SCCA_STAT, scc_stat_int, IRQF_DISABLED, 209 209 "SCC-A status", port); 210 - request_irq(MVME147_IRQ_SCCA_RX, scc_rx_int, SA_INTERRUPT, 210 + request_irq(MVME147_IRQ_SCCA_RX, scc_rx_int, IRQF_DISABLED, 211 211 "SCC-A RX", port); 212 - request_irq(MVME147_IRQ_SCCA_SPCOND, scc_spcond_int, SA_INTERRUPT, 212 + request_irq(MVME147_IRQ_SCCA_SPCOND, scc_spcond_int, IRQF_DISABLED, 213 213 "SCC-A special cond", port); 214 214 { 215 215 SCC_ACCESS_INIT(port); ··· 230 230 port->datap = port->ctrlp + 1; 231 231 port->port_a = &scc_ports[0]; 232 232 port->port_b = &scc_ports[1]; 233 - request_irq(MVME147_IRQ_SCCB_TX, scc_tx_int, SA_INTERRUPT, 233 + request_irq(MVME147_IRQ_SCCB_TX, scc_tx_int, IRQF_DISABLED, 234 234 "SCC-B TX", port); 235 - request_irq(MVME147_IRQ_SCCB_STAT, scc_stat_int, SA_INTERRUPT, 235 + request_irq(MVME147_IRQ_SCCB_STAT, scc_stat_int, IRQF_DISABLED, 236 236 "SCC-B status", port); 237 - request_irq(MVME147_IRQ_SCCB_RX, scc_rx_int, SA_INTERRUPT, 237 + request_irq(MVME147_IRQ_SCCB_RX, scc_rx_int, IRQF_DISABLED, 238 238 "SCC-B RX", port); 239 - request_irq(MVME147_IRQ_SCCB_SPCOND, scc_spcond_int, SA_INTERRUPT, 239 + request_irq(MVME147_IRQ_SCCB_SPCOND, scc_spcond_int, IRQF_DISABLED, 240 240 "SCC-B special cond", port); 241 241 { 242 242 SCC_ACCESS_INIT(port); ··· 273 273 port->datap = port->ctrlp + 2; 274 274 port->port_a = &scc_ports[0]; 275 275 port->port_b = &scc_ports[1]; 276 - request_irq(MVME162_IRQ_SCCA_TX, scc_tx_int, SA_INTERRUPT, 276 + request_irq(MVME162_IRQ_SCCA_TX, scc_tx_int, IRQF_DISABLED, 277 277 "SCC-A TX", port); 278 - request_irq(MVME162_IRQ_SCCA_STAT, scc_stat_int, SA_INTERRUPT, 278 + request_irq(MVME162_IRQ_SCCA_STAT, scc_stat_int, IRQF_DISABLED, 279 279 "SCC-A status", port); 280 - request_irq(MVME162_IRQ_SCCA_RX, scc_rx_int, SA_INTERRUPT, 280 + request_irq(MVME162_IRQ_SCCA_RX, scc_rx_int, IRQF_DISABLED, 281 281 "SCC-A RX", port); 282 - request_irq(MVME162_IRQ_SCCA_SPCOND, scc_spcond_int, SA_INTERRUPT, 282 + request_irq(MVME162_IRQ_SCCA_SPCOND, scc_spcond_int, IRQF_DISABLED, 283 283 "SCC-A special cond", port); 284 284 { 285 285 SCC_ACCESS_INIT(port); ··· 300 300 port->datap = port->ctrlp + 2; 301 301 port->port_a = &scc_ports[0]; 302 302 port->port_b = &scc_ports[1]; 303 - request_irq(MVME162_IRQ_SCCB_TX, scc_tx_int, SA_INTERRUPT, 303 + request_irq(MVME162_IRQ_SCCB_TX, scc_tx_int, IRQF_DISABLED, 304 304 "SCC-B TX", port); 305 - request_irq(MVME162_IRQ_SCCB_STAT, scc_stat_int, SA_INTERRUPT, 305 + request_irq(MVME162_IRQ_SCCB_STAT, scc_stat_int, IRQF_DISABLED, 306 306 "SCC-B status", port); 307 - request_irq(MVME162_IRQ_SCCB_RX, scc_rx_int, SA_INTERRUPT, 307 + request_irq(MVME162_IRQ_SCCB_RX, scc_rx_int, IRQF_DISABLED, 308 308 "SCC-B RX", port); 309 - request_irq(MVME162_IRQ_SCCB_SPCOND, scc_spcond_int, SA_INTERRUPT, 309 + request_irq(MVME162_IRQ_SCCB_SPCOND, scc_spcond_int, IRQF_DISABLED, 310 310 "SCC-B special cond", port); 311 311 312 312 { ··· 341 341 port->datap = port->ctrlp + 4; 342 342 port->port_a = &scc_ports[0]; 343 343 port->port_b = &scc_ports[1]; 344 - request_irq(BVME_IRQ_SCCA_TX, scc_tx_int, SA_INTERRUPT, 344 + request_irq(BVME_IRQ_SCCA_TX, scc_tx_int, IRQF_DISABLED, 345 345 "SCC-A TX", port); 346 - request_irq(BVME_IRQ_SCCA_STAT, scc_stat_int, SA_INTERRUPT, 346 + request_irq(BVME_IRQ_SCCA_STAT, scc_stat_int, IRQF_DISABLED, 347 347 "SCC-A status", port); 348 - request_irq(BVME_IRQ_SCCA_RX, scc_rx_int, SA_INTERRUPT, 348 + request_irq(BVME_IRQ_SCCA_RX, scc_rx_int, IRQF_DISABLED, 349 349 "SCC-A RX", port); 350 - request_irq(BVME_IRQ_SCCA_SPCOND, scc_spcond_int, SA_INTERRUPT, 350 + request_irq(BVME_IRQ_SCCA_SPCOND, scc_spcond_int, IRQF_DISABLED, 351 351 "SCC-A special cond", port); 352 352 { 353 353 SCC_ACCESS_INIT(port); ··· 368 368 port->datap = port->ctrlp + 4; 369 369 port->port_a = &scc_ports[0]; 370 370 port->port_b = &scc_ports[1]; 371 - request_irq(BVME_IRQ_SCCB_TX, scc_tx_int, SA_INTERRUPT, 371 + request_irq(BVME_IRQ_SCCB_TX, scc_tx_int, IRQF_DISABLED, 372 372 "SCC-B TX", port); 373 - request_irq(BVME_IRQ_SCCB_STAT, scc_stat_int, SA_INTERRUPT, 373 + request_irq(BVME_IRQ_SCCB_STAT, scc_stat_int, IRQF_DISABLED, 374 374 "SCC-B status", port); 375 - request_irq(BVME_IRQ_SCCB_RX, scc_rx_int, SA_INTERRUPT, 375 + request_irq(BVME_IRQ_SCCB_RX, scc_rx_int, IRQF_DISABLED, 376 376 "SCC-B RX", port); 377 - request_irq(BVME_IRQ_SCCB_SPCOND, scc_spcond_int, SA_INTERRUPT, 377 + request_irq(BVME_IRQ_SCCB_SPCOND, scc_spcond_int, IRQF_DISABLED, 378 378 "SCC-B special cond", port); 379 379 380 380 {
+1 -1
drivers/char/watchdog/eurotechwdt.c
··· 420 420 goto out; 421 421 } 422 422 423 - ret = request_irq(irq, eurwdt_interrupt, SA_INTERRUPT, "eurwdt", NULL); 423 + ret = request_irq(irq, eurwdt_interrupt, IRQF_DISABLED, "eurwdt", NULL); 424 424 if(ret) { 425 425 printk(KERN_ERR "eurwdt: IRQ %d is not free.\n", irq); 426 426 goto outmisc;
+1 -1
drivers/char/watchdog/mpcore_wdt.c
··· 355 355 goto err_misc; 356 356 } 357 357 358 - ret = request_irq(wdt->irq, mpcore_wdt_fire, SA_INTERRUPT, "mpcore_wdt", wdt); 358 + ret = request_irq(wdt->irq, mpcore_wdt_fire, IRQF_DISABLED, "mpcore_wdt", wdt); 359 359 if (ret) { 360 360 dev_printk(KERN_ERR, _dev, "cannot register IRQ%d for watchdog\n", wdt->irq); 361 361 goto err_irq;
+1 -1
drivers/char/watchdog/wdt.c
··· 580 580 goto out; 581 581 } 582 582 583 - ret = request_irq(irq, wdt_interrupt, SA_INTERRUPT, "wdt501p", NULL); 583 + ret = request_irq(irq, wdt_interrupt, IRQF_DISABLED, "wdt501p", NULL); 584 584 if(ret) { 585 585 printk(KERN_ERR "wdt: IRQ %d is not free.\n", irq); 586 586 goto outreg;
+1 -1
drivers/char/watchdog/wdt_pci.c
··· 617 617 goto out_pci; 618 618 } 619 619 620 - if (request_irq (irq, wdtpci_interrupt, SA_INTERRUPT | SA_SHIRQ, 620 + if (request_irq (irq, wdtpci_interrupt, IRQF_DISABLED | IRQF_SHARED, 621 621 "wdt_pci", &wdtpci_miscdev)) { 622 622 printk (KERN_ERR PFX "IRQ %d is not free\n", irq); 623 623 goto out_reg;