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