[PATCH] ARM: fixup irqflags breakage after ARM genirq merge

The irgflags consolidation did conflict with the ARM to generic IRQ
conversion and was not applied for ARM. Fix it up.

Use the new IRQF_ constants and remove the SA_INTERRUPT define

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Thomas Gleixner and committed by Linus Torvalds 52e405ea d061daa0

+73 -77
+1 -1
arch/arm/common/time-acorn.c
··· 77 78 static struct irqaction ioc_timer_irq = { 79 .name = "timer", 80 - .flags = SA_INTERRUPT, 81 .handler = ioc_timer_interrupt 82 }; 83
··· 77 78 static struct irqaction ioc_timer_irq = { 79 .name = "timer", 80 + .flags = IRQF_DISABLED, 81 .handler = ioc_timer_interrupt 82 }; 83
+1 -1
arch/arm/mach-aaec2000/core.c
··· 142 143 static struct irqaction aaec2000_timer_irq = { 144 .name = "AAEC-2000 Timer Tick", 145 - .flags = SA_INTERRUPT | SA_TIMER, 146 .handler = aaec2000_timer_interrupt, 147 }; 148
··· 142 143 static struct irqaction aaec2000_timer_irq = { 144 .name = "AAEC-2000 Timer Tick", 145 + .flags = IRQF_DISABLED | IRQF_TIMER, 146 .handler = aaec2000_timer_interrupt, 147 }; 148
+1 -1
arch/arm/mach-at91rm9200/at91rm9200_time.c
··· 85 86 static struct irqaction at91rm9200_timer_irq = { 87 .name = "at91_tick", 88 - .flags = SA_SHIRQ | SA_INTERRUPT | SA_TIMER, 89 .handler = at91rm9200_timer_interrupt 90 }; 91
··· 85 86 static struct irqaction at91rm9200_timer_irq = { 87 .name = "at91_tick", 88 + .flags = IRQF_SHARED | IRQF_DISABLED | IRQF_TIMER, 89 .handler = at91rm9200_timer_interrupt 90 }; 91
+1 -1
arch/arm/mach-clps711x/time.c
··· 58 59 static struct irqaction clps711x_timer_irq = { 60 .name = "CLPS711x Timer Tick", 61 - .flags = SA_INTERRUPT | SA_TIMER, 62 .handler = p720t_timer_interrupt, 63 }; 64
··· 58 59 static struct irqaction clps711x_timer_irq = { 60 .name = "CLPS711x Timer Tick", 61 + .flags = IRQF_DISABLED | IRQF_TIMER, 62 .handler = p720t_timer_interrupt, 63 }; 64
+1 -1
arch/arm/mach-clps7500/core.c
··· 316 317 static struct irqaction clps7500_timer_irq = { 318 .name = "CLPS7500 Timer Tick", 319 - .flags = SA_INTERRUPT | SA_TIMER, 320 .handler = clps7500_timer_interrupt, 321 }; 322
··· 316 317 static struct irqaction clps7500_timer_irq = { 318 .name = "CLPS7500 Timer Tick", 319 + .flags = IRQF_DISABLED | IRQF_TIMER, 320 .handler = clps7500_timer_interrupt, 321 }; 322
+1 -1
arch/arm/mach-ebsa110/core.c
··· 199 200 static struct irqaction ebsa110_timer_irq = { 201 .name = "EBSA110 Timer Tick", 202 - .flags = SA_INTERRUPT | SA_TIMER, 203 .handler = ebsa110_timer_interrupt, 204 }; 205
··· 199 200 static struct irqaction ebsa110_timer_irq = { 201 .name = "EBSA110 Timer Tick", 202 + .flags = IRQF_DISABLED | IRQF_TIMER, 203 .handler = ebsa110_timer_interrupt, 204 }; 205
+1 -1
arch/arm/mach-ep93xx/core.c
··· 116 117 static struct irqaction ep93xx_timer_irq = { 118 .name = "ep93xx timer", 119 - .flags = SA_INTERRUPT | SA_TIMER, 120 .handler = ep93xx_timer_interrupt, 121 }; 122
··· 116 117 static struct irqaction ep93xx_timer_irq = { 118 .name = "ep93xx timer", 119 + .flags = IRQF_DISABLED | IRQF_TIMER, 120 .handler = ep93xx_timer_interrupt, 121 }; 122
+1 -1
arch/arm/mach-footbridge/dc21285-timer.c
··· 44 static struct irqaction footbridge_timer_irq = { 45 .name = "Timer1 timer tick", 46 .handler = timer1_interrupt, 47 - .flags = SA_INTERRUPT | SA_TIMER, 48 }; 49 50 /*
··· 44 static struct irqaction footbridge_timer_irq = { 45 .name = "Timer1 timer tick", 46 .handler = timer1_interrupt, 47 + .flags = IRQF_DISABLED | IRQF_TIMER, 48 }; 49 50 /*
+5 -5
arch/arm/mach-footbridge/dc21285.c
··· 332 /* 333 * We don't care if these fail. 334 */ 335 - request_irq(IRQ_PCI_SERR, dc21285_serr_irq, SA_INTERRUPT, 336 "PCI system error", &serr_timer); 337 - request_irq(IRQ_PCI_PERR, dc21285_parity_irq, SA_INTERRUPT, 338 "PCI parity error", &perr_timer); 339 - request_irq(IRQ_PCI_ABORT, dc21285_abort_irq, SA_INTERRUPT, 340 "PCI abort", NULL); 341 - request_irq(IRQ_DISCARD_TIMER, dc21285_discard_irq, SA_INTERRUPT, 342 "Discard timer", NULL); 343 - request_irq(IRQ_PCI_DPERR, dc21285_dparity_irq, SA_INTERRUPT, 344 "PCI data parity", NULL); 345 346 if (cfn_mode) {
··· 332 /* 333 * We don't care if these fail. 334 */ 335 + request_irq(IRQ_PCI_SERR, dc21285_serr_irq, IRQF_DISABLED, 336 "PCI system error", &serr_timer); 337 + request_irq(IRQ_PCI_PERR, dc21285_parity_irq, IRQF_DISABLED, 338 "PCI parity error", &perr_timer); 339 + request_irq(IRQ_PCI_ABORT, dc21285_abort_irq, IRQF_DISABLED, 340 "PCI abort", NULL); 341 + request_irq(IRQ_DISCARD_TIMER, dc21285_discard_irq, IRQF_DISABLED, 342 "Discard timer", NULL); 343 + request_irq(IRQ_PCI_DPERR, dc21285_dparity_irq, IRQF_DISABLED, 344 "PCI data parity", NULL); 345 346 if (cfn_mode) {
+1 -1
arch/arm/mach-footbridge/isa-timer.c
··· 73 static struct irqaction isa_timer_irq = { 74 .name = "ISA timer tick", 75 .handler = isa_timer_interrupt, 76 - .flags = SA_INTERRUPT | SA_TIMER, 77 }; 78 79 static void __init isa_timer_init(void)
··· 73 static struct irqaction isa_timer_irq = { 74 .name = "ISA timer tick", 75 .handler = isa_timer_interrupt, 76 + .flags = IRQF_DISABLED | IRQF_TIMER, 77 }; 78 79 static void __init isa_timer_init(void)
+1 -1
arch/arm/mach-h720x/cpu-h7201.c
··· 41 42 static struct irqaction h7201_timer_irq = { 43 .name = "h7201 Timer Tick", 44 - .flags = SA_INTERRUPT | SA_TIMER, 45 .handler = h7201_timer_interrupt, 46 }; 47
··· 41 42 static struct irqaction h7201_timer_irq = { 43 .name = "h7201 Timer Tick", 44 + .flags = IRQF_DISABLED | IRQF_TIMER, 45 .handler = h7201_timer_interrupt, 46 }; 47
+1 -1
arch/arm/mach-h720x/cpu-h7202.c
··· 171 172 static struct irqaction h7202_timer_irq = { 173 .name = "h7202 Timer Tick", 174 - .flags = SA_INTERRUPT | SA_TIMER, 175 .handler = h7202_timer_interrupt, 176 }; 177
··· 171 172 static struct irqaction h7202_timer_irq = { 173 .name = "h7202 Timer Tick", 174 + .flags = IRQF_DISABLED | IRQF_TIMER, 175 .handler = h7202_timer_interrupt, 176 }; 177
+1 -1
arch/arm/mach-imx/time.c
··· 72 73 static struct irqaction imx_timer_irq = { 74 .name = "i.MX Timer Tick", 75 - .flags = SA_INTERRUPT | SA_TIMER, 76 .handler = imx_timer_interrupt, 77 }; 78
··· 72 73 static struct irqaction imx_timer_irq = { 74 .name = "i.MX Timer Tick", 75 + .flags = IRQF_DISABLED | IRQF_TIMER, 76 .handler = imx_timer_interrupt, 77 }; 78
+1 -1
arch/arm/mach-integrator/core.c
··· 282 283 static struct irqaction integrator_timer_irq = { 284 .name = "Integrator Timer Tick", 285 - .flags = SA_INTERRUPT | SA_TIMER, 286 .handler = integrator_timer_interrupt, 287 }; 288
··· 282 283 static struct irqaction integrator_timer_irq = { 284 .name = "Integrator Timer Tick", 285 + .flags = IRQF_DISABLED | IRQF_TIMER, 286 .handler = integrator_timer_interrupt, 287 }; 288
+1 -1
arch/arm/mach-integrator/time.c
··· 125 126 xtime.tv_sec = __raw_readl(rtc_base + RTC_DR); 127 128 - ret = request_irq(dev->irq[0], arm_rtc_interrupt, SA_INTERRUPT, 129 "rtc-pl030", dev); 130 if (ret) 131 goto map_out;
··· 125 126 xtime.tv_sec = __raw_readl(rtc_base + RTC_DR); 127 128 + ret = request_irq(dev->irq[0], arm_rtc_interrupt, IRQF_DISABLED, 129 "rtc-pl030", dev); 130 if (ret) 131 goto map_out;
+1 -1
arch/arm/mach-iop3xx/iop321-time.c
··· 85 static struct irqaction iop321_timer_irq = { 86 .name = "IOP321 Timer Tick", 87 .handler = iop321_timer_interrupt, 88 - .flags = SA_INTERRUPT | SA_TIMER, 89 }; 90 91 static void __init iop321_timer_init(void)
··· 85 static struct irqaction iop321_timer_irq = { 86 .name = "IOP321 Timer Tick", 87 .handler = iop321_timer_interrupt, 88 + .flags = IRQF_DISABLED | IRQF_TIMER, 89 }; 90 91 static void __init iop321_timer_init(void)
+1 -1
arch/arm/mach-iop3xx/iop331-time.c
··· 82 static struct irqaction iop331_timer_irq = { 83 .name = "IOP331 Timer Tick", 84 .handler = iop331_timer_interrupt, 85 - .flags = SA_INTERRUPT | SA_TIMER, 86 }; 87 88 static void __init iop331_timer_init(void)
··· 82 static struct irqaction iop331_timer_irq = { 83 .name = "IOP331 Timer Tick", 84 .handler = iop331_timer_interrupt, 85 + .flags = IRQF_DISABLED | IRQF_TIMER, 86 }; 87 88 static void __init iop331_timer_init(void)
+1 -1
arch/arm/mach-ixp2000/core.c
··· 224 225 static struct irqaction ixp2000_timer_irq = { 226 .name = "IXP2000 Timer Tick", 227 - .flags = SA_INTERRUPT | SA_TIMER, 228 .handler = ixp2000_timer_interrupt, 229 }; 230
··· 224 225 static struct irqaction ixp2000_timer_irq = { 226 .name = "IXP2000 Timer Tick", 227 + .flags = IRQF_DISABLED | IRQF_TIMER, 228 .handler = ixp2000_timer_interrupt, 229 }; 230
+1 -1
arch/arm/mach-ixp23xx/core.c
··· 363 static struct irqaction ixp23xx_timer_irq = { 364 .name = "IXP23xx Timer Tick", 365 .handler = ixp23xx_timer_interrupt, 366 - .flags = SA_INTERRUPT | SA_TIMER, 367 }; 368 369 void __init ixp23xx_init_timer(void)
··· 363 static struct irqaction ixp23xx_timer_irq = { 364 .name = "IXP23xx Timer Tick", 365 .handler = ixp23xx_timer_interrupt, 366 + .flags = IRQF_DISABLED | IRQF_TIMER, 367 }; 368 369 void __init ixp23xx_init_timer(void)
+1 -1
arch/arm/mach-ixp4xx/common.c
··· 287 288 static struct irqaction ixp4xx_timer_irq = { 289 .name = "IXP4xx Timer Tick", 290 - .flags = SA_INTERRUPT | SA_TIMER, 291 .handler = ixp4xx_timer_interrupt, 292 }; 293
··· 287 288 static struct irqaction ixp4xx_timer_irq = { 289 .name = "IXP4xx Timer Tick", 290 + .flags = IRQF_DISABLED | IRQF_TIMER, 291 .handler = ixp4xx_timer_interrupt, 292 }; 293
+1 -1
arch/arm/mach-ixp4xx/nas100d-power.c
··· 42 set_irq_type(NAS100D_RB_IRQ, IRQT_LOW); 43 44 if (request_irq(NAS100D_RB_IRQ, &nas100d_reset_handler, 45 - SA_INTERRUPT, "NAS100D reset button", NULL) < 0) { 46 47 printk(KERN_DEBUG "Reset Button IRQ %d not available\n", 48 NAS100D_RB_IRQ);
··· 42 set_irq_type(NAS100D_RB_IRQ, IRQT_LOW); 43 44 if (request_irq(NAS100D_RB_IRQ, &nas100d_reset_handler, 45 + IRQF_DISABLED, "NAS100D reset button", NULL) < 0) { 46 47 printk(KERN_DEBUG "Reset Button IRQ %d not available\n", 48 NAS100D_RB_IRQ);
+2 -2
arch/arm/mach-ixp4xx/nslu2-power.c
··· 54 set_irq_type(NSLU2_PB_IRQ, IRQT_HIGH); 55 56 if (request_irq(NSLU2_RB_IRQ, &nslu2_reset_handler, 57 - SA_INTERRUPT, "NSLU2 reset button", NULL) < 0) { 58 59 printk(KERN_DEBUG "Reset Button IRQ %d not available\n", 60 NSLU2_RB_IRQ); ··· 63 } 64 65 if (request_irq(NSLU2_PB_IRQ, &nslu2_power_handler, 66 - SA_INTERRUPT, "NSLU2 power button", NULL) < 0) { 67 68 printk(KERN_DEBUG "Power Button IRQ %d not available\n", 69 NSLU2_PB_IRQ);
··· 54 set_irq_type(NSLU2_PB_IRQ, IRQT_HIGH); 55 56 if (request_irq(NSLU2_RB_IRQ, &nslu2_reset_handler, 57 + IRQF_DISABLED, "NSLU2 reset button", NULL) < 0) { 58 59 printk(KERN_DEBUG "Reset Button IRQ %d not available\n", 60 NSLU2_RB_IRQ); ··· 63 } 64 65 if (request_irq(NSLU2_PB_IRQ, &nslu2_power_handler, 66 + IRQF_DISABLED, "NSLU2 power button", NULL) < 0) { 67 68 printk(KERN_DEBUG "Power Button IRQ %d not available\n", 69 NSLU2_PB_IRQ);
+1 -1
arch/arm/mach-lh7a40x/time.c
··· 53 54 static struct irqaction lh7a40x_timer_irq = { 55 .name = "LHA740x Timer Tick", 56 - .flags = SA_INTERRUPT | SA_TIMER, 57 .handler = lh7a40x_timer_interrupt, 58 }; 59
··· 53 54 static struct irqaction lh7a40x_timer_irq = { 55 .name = "LHA740x Timer Tick", 56 + .flags = IRQF_DISABLED | IRQF_TIMER, 57 .handler = lh7a40x_timer_interrupt, 58 }; 59
+1 -1
arch/arm/mach-netx/time.c
··· 54 55 static struct irqaction netx_timer_irq = { 56 .name = "NetX Timer Tick", 57 - .flags = SA_INTERRUPT | SA_TIMER, 58 .handler = netx_timer_interrupt, 59 }; 60
··· 54 55 static struct irqaction netx_timer_irq = { 56 .name = "NetX Timer Tick", 57 + .flags = IRQF_DISABLED | IRQF_TIMER, 58 .handler = netx_timer_interrupt, 59 }; 60
+1 -1
arch/arm/mach-omap1/board-osk.c
··· 357 */ 358 ret = request_irq(OMAP_GPIO_IRQ(OMAP_MPUIO(2)), 359 &osk_mistral_wake_interrupt, 360 - SA_SHIRQ, "mistral_wakeup", 361 &osk_mistral_wake_interrupt); 362 if (ret != 0) { 363 omap_free_gpio(OMAP_MPUIO(2));
··· 357 */ 358 ret = request_irq(OMAP_GPIO_IRQ(OMAP_MPUIO(2)), 359 &osk_mistral_wake_interrupt, 360 + IRQF_SHARED, "mistral_wakeup", 361 &osk_mistral_wake_interrupt); 362 if (ret != 0) { 363 omap_free_gpio(OMAP_MPUIO(2));
+1 -1
arch/arm/mach-omap1/fpga.c
··· 133 * mask_ack routine for all of the FPGA interrupts has been changed from 134 * fpga_mask_ack_irq() to fpga_ack_irq() so that the specific FPGA interrupt 135 * being serviced is left unmasked. We can do this because the FPGA cascade 136 - * interrupt is installed with the SA_INTERRUPT flag, which leaves all 137 * interrupts masked at the CPU while an FPGA interrupt handler executes. 138 * 139 * Limited testing indicates that this workaround appears to be effective
··· 133 * mask_ack routine for all of the FPGA interrupts has been changed from 134 * fpga_mask_ack_irq() to fpga_ack_irq() so that the specific FPGA interrupt 135 * being serviced is left unmasked. We can do this because the FPGA cascade 136 + * interrupt is installed with the IRQF_DISABLED flag, which leaves all 137 * interrupts masked at the CPU while an FPGA interrupt handler executes. 138 * 139 * Limited testing indicates that this workaround appears to be effective
+1 -1
arch/arm/mach-omap1/pm.c
··· 690 691 static struct irqaction omap_wakeup_irq = { 692 .name = "peripheral wakeup", 693 - .flags = SA_INTERRUPT, 694 .handler = omap_wakeup_interrupt 695 }; 696
··· 690 691 static struct irqaction omap_wakeup_irq = { 692 .name = "peripheral wakeup", 693 + .flags = IRQF_DISABLED, 694 .handler = omap_wakeup_interrupt 695 }; 696
+1 -1
arch/arm/mach-omap1/serial.c
··· 253 } 254 omap_set_gpio_direction(gpio_nr, 1); 255 ret = request_irq(OMAP_GPIO_IRQ(gpio_nr), &omap_serial_wake_interrupt, 256 - SA_TRIGGER_RISING, "serial wakeup", NULL); 257 if (ret) { 258 omap_free_gpio(gpio_nr); 259 printk(KERN_ERR "No interrupt for UART wake GPIO: %i\n",
··· 253 } 254 omap_set_gpio_direction(gpio_nr, 1); 255 ret = request_irq(OMAP_GPIO_IRQ(gpio_nr), &omap_serial_wake_interrupt, 256 + IRQF_TRIGGER_RISING, "serial wakeup", NULL); 257 if (ret) { 258 omap_free_gpio(gpio_nr); 259 printk(KERN_ERR "No interrupt for UART wake GPIO: %i\n",
+2 -2
arch/arm/mach-omap1/time.c
··· 177 178 static struct irqaction omap_mpu_timer_irq = { 179 .name = "mpu timer", 180 - .flags = SA_INTERRUPT | SA_TIMER, 181 .handler = omap_mpu_timer_interrupt, 182 }; 183 ··· 191 192 static struct irqaction omap_mpu_timer1_irq = { 193 .name = "mpu timer1 overflow", 194 - .flags = SA_INTERRUPT, 195 .handler = omap_mpu_timer1_interrupt, 196 }; 197
··· 177 178 static struct irqaction omap_mpu_timer_irq = { 179 .name = "mpu timer", 180 + .flags = IRQF_DISABLED | IRQF_TIMER, 181 .handler = omap_mpu_timer_interrupt, 182 }; 183 ··· 191 192 static struct irqaction omap_mpu_timer1_irq = { 193 .name = "mpu timer1 overflow", 194 + .flags = IRQF_DISABLED, 195 .handler = omap_mpu_timer1_interrupt, 196 }; 197
+3 -3
arch/arm/mach-omap2/board-apollon.c
··· 234 235 set_irq_type(OMAP_GPIO_IRQ(SW_ENTER_GPIO16), IRQT_RISING); 236 if (request_irq(OMAP_GPIO_IRQ(SW_ENTER_GPIO16), &apollon_sw_interrupt, 237 - SA_SHIRQ, "enter sw", 238 &apollon_sw_interrupt)) 239 return; 240 set_irq_type(OMAP_GPIO_IRQ(SW_UP_GPIO17), IRQT_RISING); 241 if (request_irq(OMAP_GPIO_IRQ(SW_UP_GPIO17), &apollon_sw_interrupt, 242 - SA_SHIRQ, "up sw", 243 &apollon_sw_interrupt)) 244 return; 245 set_irq_type(OMAP_GPIO_IRQ(SW_DOWN_GPIO58), IRQT_RISING); 246 if (request_irq(OMAP_GPIO_IRQ(SW_DOWN_GPIO58), &apollon_sw_interrupt, 247 - SA_SHIRQ, "down sw", 248 &apollon_sw_interrupt)) 249 return; 250 }
··· 234 235 set_irq_type(OMAP_GPIO_IRQ(SW_ENTER_GPIO16), IRQT_RISING); 236 if (request_irq(OMAP_GPIO_IRQ(SW_ENTER_GPIO16), &apollon_sw_interrupt, 237 + IRQF_SHARED, "enter sw", 238 &apollon_sw_interrupt)) 239 return; 240 set_irq_type(OMAP_GPIO_IRQ(SW_UP_GPIO17), IRQT_RISING); 241 if (request_irq(OMAP_GPIO_IRQ(SW_UP_GPIO17), &apollon_sw_interrupt, 242 + IRQF_SHARED, "up sw", 243 &apollon_sw_interrupt)) 244 return; 245 set_irq_type(OMAP_GPIO_IRQ(SW_DOWN_GPIO58), IRQT_RISING); 246 if (request_irq(OMAP_GPIO_IRQ(SW_DOWN_GPIO58), &apollon_sw_interrupt, 247 + IRQF_SHARED, "down sw", 248 &apollon_sw_interrupt)) 249 return; 250 }
+1 -1
arch/arm/mach-omap2/timer-gp.c
··· 52 53 static struct irqaction omap2_gp_timer_irq = { 54 .name = "gp timer", 55 - .flags = SA_INTERRUPT | SA_TIMER, 56 .handler = omap2_gp_timer_interrupt, 57 }; 58
··· 52 53 static struct irqaction omap2_gp_timer_irq = { 54 .name = "gp timer", 55 + .flags = IRQF_DISABLED | IRQF_TIMER, 56 .handler = omap2_gp_timer_interrupt, 57 }; 58
+1 -1
arch/arm/mach-pnx4008/time.c
··· 86 87 static struct irqaction pnx4008_timer_irq = { 88 .name = "PNX4008 Tick Timer", 89 - .flags = SA_INTERRUPT | SA_TIMER, 90 .handler = pnx4008_timer_interrupt 91 }; 92
··· 86 87 static struct irqaction pnx4008_timer_irq = { 88 .name = "PNX4008 Tick Timer", 89 + .flags = IRQF_DISABLED | IRQF_TIMER, 90 .handler = pnx4008_timer_interrupt 91 }; 92
+1 -1
arch/arm/mach-pxa/corgi.c
··· 225 corgi_mci_platform_data.detect_delay = msecs_to_jiffies(250); 226 227 err = request_irq(CORGI_IRQ_GPIO_nSD_DETECT, corgi_detect_int, 228 - SA_INTERRUPT | SA_TRIGGER_RISING | SA_TRIGGER_FALLING, 229 "MMC card detect", data); 230 if (err) { 231 printk(KERN_ERR "corgi_mci_init: MMC/SD: can't request MMC card detect IRQ\n");
··· 225 corgi_mci_platform_data.detect_delay = msecs_to_jiffies(250); 226 227 err = request_irq(CORGI_IRQ_GPIO_nSD_DETECT, corgi_detect_int, 228 + IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, 229 "MMC card detect", data); 230 if (err) { 231 printk(KERN_ERR "corgi_mci_init: MMC/SD: can't request MMC card detect IRQ\n");
+1 -1
arch/arm/mach-pxa/lubbock.c
··· 419 init_timer(&mmc_timer); 420 mmc_timer.data = (unsigned long) data; 421 return request_irq(LUBBOCK_SD_IRQ, lubbock_detect_int, 422 - SA_SAMPLE_RANDOM, "lubbock-sd-detect", data); 423 } 424 425 static int lubbock_mci_get_ro(struct device *dev)
··· 419 init_timer(&mmc_timer); 420 mmc_timer.data = (unsigned long) data; 421 return request_irq(LUBBOCK_SD_IRQ, lubbock_detect_int, 422 + IRQF_SAMPLE_RANDOM, "lubbock-sd-detect", data); 423 } 424 425 static int lubbock_mci_get_ro(struct device *dev)
+1 -1
arch/arm/mach-pxa/mainstone.c
··· 331 */ 332 MST_MSCWR1 &= ~MST_MSCWR1_MS_SEL; 333 334 - err = request_irq(MAINSTONE_MMC_IRQ, mstone_detect_int, SA_INTERRUPT, 335 "MMC card detect", data); 336 if (err) { 337 printk(KERN_ERR "mainstone_mci_init: MMC/SD: can't request MMC card detect IRQ\n");
··· 331 */ 332 MST_MSCWR1 &= ~MST_MSCWR1_MS_SEL; 333 334 + err = request_irq(MAINSTONE_MMC_IRQ, mstone_detect_int, IRQF_DISABLED, 335 "MMC card detect", data); 336 if (err) { 337 printk(KERN_ERR "mainstone_mci_init: MMC/SD: can't request MMC card detect IRQ\n");
+1 -1
arch/arm/mach-pxa/poodle.c
··· 212 poodle_mci_platform_data.detect_delay = msecs_to_jiffies(250); 213 214 err = request_irq(POODLE_IRQ_GPIO_nSD_DETECT, poodle_detect_int, 215 - SA_INTERRUPT | SA_TRIGGER_RISING | SA_TRIGGER_FALLING, 216 "MMC card detect", data); 217 if (err) { 218 printk(KERN_ERR "poodle_mci_init: MMC/SD: can't request MMC card detect IRQ\n");
··· 212 poodle_mci_platform_data.detect_delay = msecs_to_jiffies(250); 213 214 err = request_irq(POODLE_IRQ_GPIO_nSD_DETECT, poodle_detect_int, 215 + IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, 216 "MMC card detect", data); 217 if (err) { 218 printk(KERN_ERR "poodle_mci_init: MMC/SD: can't request MMC card detect IRQ\n");
+4 -4
arch/arm/mach-pxa/sharpsl_pm.c
··· 142 pxa_gpio_mode(sharpsl_pm.machinfo->gpio_batlock | GPIO_IN); 143 144 /* Register interrupt handlers */ 145 - if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_acin), sharpsl_ac_isr, SA_INTERRUPT, "AC Input Detect", sharpsl_ac_isr)) { 146 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_acin)); 147 } 148 else set_irq_type(IRQ_GPIO(sharpsl_pm.machinfo->gpio_acin),IRQT_BOTHEDGE); 149 150 - if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock), sharpsl_fatal_isr, SA_INTERRUPT, "Battery Cover", sharpsl_fatal_isr)) { 151 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock)); 152 } 153 else set_irq_type(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock),IRQT_FALLING); 154 155 if (sharpsl_pm.machinfo->gpio_fatal) { 156 - if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_fatal), sharpsl_fatal_isr, SA_INTERRUPT, "Fatal Battery", sharpsl_fatal_isr)) { 157 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_fatal)); 158 } 159 else set_irq_type(IRQ_GPIO(sharpsl_pm.machinfo->gpio_fatal),IRQT_FALLING); ··· 162 if (sharpsl_pm.machinfo->batfull_irq) 163 { 164 /* Register interrupt handler. */ 165 - if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batfull), sharpsl_chrg_full_isr, SA_INTERRUPT, "CO", sharpsl_chrg_full_isr)) { 166 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_batfull)); 167 } 168 else set_irq_type(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batfull),IRQT_RISING);
··· 142 pxa_gpio_mode(sharpsl_pm.machinfo->gpio_batlock | GPIO_IN); 143 144 /* Register interrupt handlers */ 145 + if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_acin), sharpsl_ac_isr, IRQF_DISABLED, "AC Input Detect", sharpsl_ac_isr)) { 146 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_acin)); 147 } 148 else set_irq_type(IRQ_GPIO(sharpsl_pm.machinfo->gpio_acin),IRQT_BOTHEDGE); 149 150 + if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock), sharpsl_fatal_isr, IRQF_DISABLED, "Battery Cover", sharpsl_fatal_isr)) { 151 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock)); 152 } 153 else set_irq_type(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock),IRQT_FALLING); 154 155 if (sharpsl_pm.machinfo->gpio_fatal) { 156 + if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_fatal), sharpsl_fatal_isr, IRQF_DISABLED, "Fatal Battery", sharpsl_fatal_isr)) { 157 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_fatal)); 158 } 159 else set_irq_type(IRQ_GPIO(sharpsl_pm.machinfo->gpio_fatal),IRQT_FALLING); ··· 162 if (sharpsl_pm.machinfo->batfull_irq) 163 { 164 /* Register interrupt handler. */ 165 + if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batfull), sharpsl_chrg_full_isr, IRQF_DISABLED, "CO", sharpsl_chrg_full_isr)) { 166 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_batfull)); 167 } 168 else set_irq_type(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batfull),IRQT_RISING);
+1 -1
arch/arm/mach-pxa/spitz.c
··· 308 spitz_mci_platform_data.detect_delay = msecs_to_jiffies(250); 309 310 err = request_irq(SPITZ_IRQ_GPIO_nSD_DETECT, spitz_detect_int, 311 - SA_INTERRUPT | SA_TRIGGER_RISING | SA_TRIGGER_FALLING, 312 "MMC card detect", data); 313 if (err) { 314 printk(KERN_ERR "spitz_mci_init: MMC/SD: can't request MMC card detect IRQ\n");
··· 308 spitz_mci_platform_data.detect_delay = msecs_to_jiffies(250); 309 310 err = request_irq(SPITZ_IRQ_GPIO_nSD_DETECT, spitz_detect_int, 311 + IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, 312 "MMC card detect", data); 313 if (err) { 314 printk(KERN_ERR "spitz_mci_init: MMC/SD: can't request MMC card detect IRQ\n");
+1 -1
arch/arm/mach-pxa/time.c
··· 117 118 static struct irqaction pxa_timer_irq = { 119 .name = "PXA Timer Tick", 120 - .flags = SA_INTERRUPT | SA_TIMER, 121 .handler = pxa_timer_interrupt, 122 }; 123
··· 117 118 static struct irqaction pxa_timer_irq = { 119 .name = "PXA Timer Tick", 120 + .flags = IRQF_DISABLED | IRQF_TIMER, 121 .handler = pxa_timer_interrupt, 122 }; 123
+1 -1
arch/arm/mach-pxa/tosa.c
··· 185 186 tosa_mci_platform_data.detect_delay = msecs_to_jiffies(250); 187 188 - err = request_irq(TOSA_IRQ_GPIO_nSD_DETECT, tosa_detect_int, SA_INTERRUPT, 189 "MMC/SD card detect", data); 190 if (err) { 191 printk(KERN_ERR "tosa_mci_init: MMC/SD: can't request MMC card detect IRQ\n");
··· 185 186 tosa_mci_platform_data.detect_delay = msecs_to_jiffies(250); 187 188 + err = request_irq(TOSA_IRQ_GPIO_nSD_DETECT, tosa_detect_int, IRQF_DISABLED, 189 "MMC/SD card detect", data); 190 if (err) { 191 printk(KERN_ERR "tosa_mci_init: MMC/SD: can't request MMC card detect IRQ\n");
+3 -1
arch/arm/mach-pxa/trizeps4.c
··· 283 284 pxa_gpio_mode(GPIO_MMC_DET | GPIO_IN); 285 286 - err = request_irq(TRIZEPS4_MMC_IRQ, mci_detect_int, SA_INTERRUPT | SA_TRIGGER_RISING, "MMC card detect", data); 287 if (err) { 288 printk(KERN_ERR "trizeps4_mci_init: MMC/SD: can't request MMC card detect IRQ\n"); 289 return -1;
··· 283 284 pxa_gpio_mode(GPIO_MMC_DET | GPIO_IN); 285 286 + err = request_irq(TRIZEPS4_MMC_IRQ, mci_detect_int, 287 + IRQF_DISABLED | IRQF_TRIGGER_RISING, 288 + "MMC card detect", data); 289 if (err) { 290 printk(KERN_ERR "trizeps4_mci_init: MMC/SD: can't request MMC card detect IRQ\n"); 291 return -1;
+1 -1
arch/arm/mach-realview/core.c
··· 536 537 static struct irqaction realview_timer_irq = { 538 .name = "RealView Timer Tick", 539 - .flags = SA_INTERRUPT | SA_TIMER, 540 .handler = realview_timer_interrupt, 541 }; 542
··· 536 537 static struct irqaction realview_timer_irq = { 538 .name = "RealView Timer Tick", 539 + .flags = IRQF_DISABLED | IRQF_TIMER, 540 .handler = realview_timer_interrupt, 541 }; 542
+1 -1
arch/arm/mach-rpc/dma.c
··· 128 static int iomd_request_dma(dmach_t channel, dma_t *dma) 129 { 130 return request_irq(dma->dma_irq, iomd_dma_handle, 131 - SA_INTERRUPT, dma->device_id, dma); 132 } 133 134 static void iomd_free_dma(dmach_t channel, dma_t *dma)
··· 128 static int iomd_request_dma(dmach_t channel, dma_t *dma) 129 { 130 return request_irq(dma->dma_irq, iomd_dma_handle, 131 + IRQF_DISABLED, dma->device_id, dma); 132 } 133 134 static void iomd_free_dma(dmach_t channel, dma_t *dma)
+1 -1
arch/arm/mach-s3c2410/dma.c
··· 718 pr_debug("dma%d: %s : requesting irq %d\n", 719 channel, __FUNCTION__, chan->irq); 720 721 - err = request_irq(chan->irq, s3c2410_dma_irq, SA_INTERRUPT, 722 client->name, (void *)chan); 723 724 if (err) {
··· 718 pr_debug("dma%d: %s : requesting irq %d\n", 719 channel, __FUNCTION__, chan->irq); 720 721 + err = request_irq(chan->irq, s3c2410_dma_irq, IRQF_DISABLED, 722 client->name, (void *)chan); 723 724 if (err) {
+1 -1
arch/arm/mach-s3c2410/time.c
··· 138 139 static struct irqaction s3c2410_timer_irq = { 140 .name = "S3C2410 Timer Tick", 141 - .flags = SA_INTERRUPT | SA_TIMER, 142 .handler = s3c2410_timer_interrupt, 143 }; 144
··· 138 139 static struct irqaction s3c2410_timer_irq = { 140 .name = "S3C2410 Timer Tick", 141 + .flags = IRQF_DISABLED | IRQF_TIMER, 142 .handler = s3c2410_timer_interrupt, 143 }; 144
+2 -2
arch/arm/mach-s3c2410/usb-simtec.c
··· 85 86 if (on) { 87 ret = request_irq(IRQ_USBOC, usb_simtec_ocirq, 88 - SA_INTERRUPT | SA_TRIGGER_RISING | 89 - SA_TRIGGER_FALLING, 90 "USB Over-current", info); 91 if (ret != 0) { 92 printk(KERN_ERR "failed to request usb oc irq\n");
··· 85 86 if (on) { 87 ret = request_irq(IRQ_USBOC, usb_simtec_ocirq, 88 + IRQF_DISABLED | IRQF_TRIGGER_RISING | 89 + IRQF_TRIGGER_FALLING, 90 "USB Over-current", info); 91 if (ret != 0) { 92 printk(KERN_ERR "failed to request usb oc irq\n");
+2 -2
arch/arm/mach-sa1100/collie_pm.c
··· 45 } 46 47 /* Register interrupt handler. */ 48 - if ((err = request_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr, SA_INTERRUPT, 49 "ACIN", sharpsl_ac_isr))) { 50 printk("Could not get irq %d.\n", COLLIE_IRQ_GPIO_AC_IN); 51 return; 52 } 53 - if ((err = request_irq(COLLIE_IRQ_GPIO_CO, sharpsl_chrg_full_isr, SA_INTERRUPT, 54 "CO", sharpsl_chrg_full_isr))) { 55 free_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr); 56 printk("Could not get irq %d.\n", COLLIE_IRQ_GPIO_CO);
··· 45 } 46 47 /* Register interrupt handler. */ 48 + if ((err = request_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr, IRQF_DISABLED, 49 "ACIN", sharpsl_ac_isr))) { 50 printk("Could not get irq %d.\n", COLLIE_IRQ_GPIO_AC_IN); 51 return; 52 } 53 + if ((err = request_irq(COLLIE_IRQ_GPIO_CO, sharpsl_chrg_full_isr, IRQF_DISABLED, 54 "CO", sharpsl_chrg_full_isr))) { 55 free_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr); 56 printk("Could not get irq %d.\n", COLLIE_IRQ_GPIO_CO);
+1 -1
arch/arm/mach-sa1100/dma.c
··· 124 125 i = dma - dma_chan; 126 regs = (dma_regs_t *)&DDAR(i); 127 - err = request_irq(IRQ_DMA0 + i, dma_irq_handler, SA_INTERRUPT, 128 device_id, regs); 129 if (err) { 130 printk(KERN_ERR
··· 124 125 i = dma - dma_chan; 126 regs = (dma_regs_t *)&DDAR(i); 127 + err = request_irq(IRQ_DMA0 + i, dma_irq_handler, IRQF_DISABLED, 128 device_id, regs); 129 if (err) { 130 printk(KERN_ERR
+1 -1
arch/arm/mach-sa1100/h3600.c
··· 740 static struct irqaction h3800_irq = { 741 .name = "h3800_asic", 742 .handler = h3800_IRQ_demux, 743 - .flags = SA_INTERRUPT | SA_TIMER, 744 }; 745 746 u32 kpio_int_shadow = 0;
··· 740 static struct irqaction h3800_irq = { 741 .name = "h3800_asic", 742 .handler = h3800_IRQ_demux, 743 + .flags = IRQF_DISABLED | IRQF_TIMER, 744 }; 745 746 u32 kpio_int_shadow = 0;
+1 -1
arch/arm/mach-sa1100/time.c
··· 111 112 static struct irqaction sa1100_timer_irq = { 113 .name = "SA11xx Timer Tick", 114 - .flags = SA_INTERRUPT | SA_TIMER, 115 .handler = sa1100_timer_interrupt, 116 }; 117
··· 111 112 static struct irqaction sa1100_timer_irq = { 113 .name = "SA11xx Timer Tick", 114 + .flags = IRQF_DISABLED | IRQF_TIMER, 115 .handler = sa1100_timer_interrupt, 116 }; 117
+1 -1
arch/arm/mach-shark/core.c
··· 90 91 static struct irqaction shark_timer_irq = { 92 .name = "Shark Timer Tick", 93 - .flags = SA_INTERRUPT | SA_TIMER, 94 .handler = shark_timer_interrupt, 95 }; 96
··· 90 91 static struct irqaction shark_timer_irq = { 92 .name = "Shark Timer Tick", 93 + .flags = IRQF_DISABLED | IRQF_TIMER, 94 .handler = shark_timer_interrupt, 95 }; 96
+1 -1
arch/arm/mach-versatile/core.c
··· 869 870 static struct irqaction versatile_timer_irq = { 871 .name = "Versatile Timer Tick", 872 - .flags = SA_INTERRUPT | SA_TIMER, 873 .handler = versatile_timer_interrupt, 874 }; 875
··· 869 870 static struct irqaction versatile_timer_irq = { 871 .name = "Versatile Timer Tick", 872 + .flags = IRQF_DISABLED | IRQF_TIMER, 873 .handler = versatile_timer_interrupt, 874 }; 875
+1 -1
arch/arm/oprofile/op_model_xscale.c
··· 384 int ret; 385 u32 pmnc = read_pmnc(); 386 387 - ret = request_irq(XSCALE_PMU_IRQ, xscale_pmu_interrupt, SA_INTERRUPT, 388 "XScale PMU", (void *)results); 389 390 if (ret < 0) {
··· 384 int ret; 385 u32 pmnc = read_pmnc(); 386 387 + ret = request_irq(XSCALE_PMU_IRQ, xscale_pmu_interrupt, IRQF_DISABLED, 388 "XScale PMU", (void *)results); 389 390 if (ret < 0) {
+1 -1
arch/arm/plat-omap/dma.c
··· 939 static struct irqaction omap24xx_dma_irq = { 940 .name = "DMA", 941 .handler = omap2_dma_irq_handler, 942 - .flags = SA_INTERRUPT 943 }; 944 945 #else
··· 939 static struct irqaction omap24xx_dma_irq = { 940 .name = "DMA", 941 .handler = omap2_dma_irq_handler, 942 + .flags = IRQF_DISABLED 943 }; 944 945 #else
+1 -1
arch/arm/plat-omap/pm.c
··· 580 581 static struct irqaction omap_wakeup_irq = { 582 .name = "peripheral wakeup", 583 - .flags = SA_INTERRUPT, 584 .handler = omap_wakeup_interrupt 585 }; 586
··· 580 581 static struct irqaction omap_wakeup_irq = { 582 .name = "peripheral wakeup", 583 + .flags = IRQF_DISABLED, 584 .handler = omap_wakeup_interrupt 585 }; 586
+1 -1
arch/arm/plat-omap/timer32k.c
··· 258 259 static struct irqaction omap_32k_timer_irq = { 260 .name = "32KHz timer", 261 - .flags = SA_INTERRUPT | SA_TIMER, 262 .handler = omap_32k_timer_interrupt, 263 }; 264
··· 258 259 static struct irqaction omap_32k_timer_irq = { 260 .name = "32KHz timer", 261 + .flags = IRQF_DISABLED | IRQF_TIMER, 262 .handler = omap_32k_timer_interrupt, 263 }; 264
+1 -1
include/asm-arm/floppy.h
··· 25 26 #define fd_inb(port) inb((port)) 27 #define fd_request_irq() request_irq(IRQ_FLOPPYDISK,floppy_interrupt,\ 28 - SA_INTERRUPT,"floppy",NULL) 29 #define fd_free_irq() free_irq(IRQ_FLOPPYDISK,NULL) 30 #define fd_disable_irq() disable_irq(IRQ_FLOPPYDISK) 31 #define fd_enable_irq() enable_irq(IRQ_FLOPPYDISK)
··· 25 26 #define fd_inb(port) inb((port)) 27 #define fd_request_irq() request_irq(IRQ_FLOPPYDISK,floppy_interrupt,\ 28 + IRQF_DISABLED,"floppy",NULL) 29 #define fd_free_irq() free_irq(IRQ_FLOPPYDISK,NULL) 30 #define fd_disable_irq() disable_irq(IRQ_FLOPPYDISK) 31 #define fd_enable_irq() enable_irq(IRQ_FLOPPYDISK)
+1 -1
include/asm-arm/hw_irq.h
··· 9 #if defined(CONFIG_NO_IDLE_HZ) 10 # include <asm/dyntick.h> 11 # define handle_dynamic_tick(action) \ 12 - if (!(action->flags & SA_TIMER) && system_timer->dyn_tick) { \ 13 write_seqlock(&xtime_lock); \ 14 if (system_timer->dyn_tick->state & DYN_TICK_ENABLED) \ 15 system_timer->dyn_tick->handler(irq, 0, regs); \
··· 9 #if defined(CONFIG_NO_IDLE_HZ) 10 # include <asm/dyntick.h> 11 # define handle_dynamic_tick(action) \ 12 + if (!(action->flags & IRQF_TIMER) && system_timer->dyn_tick) { \ 13 write_seqlock(&xtime_lock); \ 14 if (system_timer->dyn_tick->state & DYN_TICK_ENABLED) \ 15 system_timer->dyn_tick->handler(irq, 0, regs); \
-6
include/asm-arm/signal.h
··· 82 * is running in 26-bit. 83 * SA_ONSTACK allows alternate signal stacks (see sigaltstack(2)). 84 * SA_RESTART flag to get restarting signals (which were the default long ago) 85 - * SA_INTERRUPT is a no-op, but left due to historical reasons. Use the 86 * SA_NODEFER prevents the current signal from being masked in the handler. 87 * SA_RESETHAND clears the handler when the signal is delivered. 88 * ··· 100 101 #define SA_NOMASK SA_NODEFER 102 #define SA_ONESHOT SA_RESETHAND 103 - #define SA_INTERRUPT 0x20000000 /* dummy -- ignored */ 104 105 106 /* ··· 110 111 #define MINSIGSTKSZ 2048 112 #define SIGSTKSZ 8192 113 - 114 - #ifdef __KERNEL__ 115 - #define SA_TIMER 0x40000000 116 - #endif 117 118 #include <asm-generic/signal.h> 119
··· 82 * is running in 26-bit. 83 * SA_ONSTACK allows alternate signal stacks (see sigaltstack(2)). 84 * SA_RESTART flag to get restarting signals (which were the default long ago) 85 * SA_NODEFER prevents the current signal from being masked in the handler. 86 * SA_RESETHAND clears the handler when the signal is delivered. 87 * ··· 101 102 #define SA_NOMASK SA_NODEFER 103 #define SA_ONESHOT SA_RESETHAND 104 105 106 /* ··· 112 113 #define MINSIGSTKSZ 2048 114 #define SIGSTKSZ 8192 115 116 #include <asm-generic/signal.h> 117