The patch titled irq-flags: ARM: Use the new IRQF_ constants has been removed from the -mm tree. Its filename is irq-flags-arm-use-the-new-irqf_-constansts.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: irq-flags: ARM: Use the new IRQF_ constants From: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Use the new IRQF_ constants and remove the SA_INTERRUPT define Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Russell King <rmk@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/arm/common/time-acorn.c | 2 - arch/arm/kernel/irq.c | 24 ++++++++++----------- arch/arm/mach-aaec2000/core.c | 2 - arch/arm/mach-at91rm9200/time.c | 2 - arch/arm/mach-clps711x/time.c | 2 - arch/arm/mach-clps7500/core.c | 2 - arch/arm/mach-ebsa110/core.c | 2 - arch/arm/mach-ep93xx/core.c | 2 - arch/arm/mach-footbridge/dc21285-timer.c | 2 - arch/arm/mach-footbridge/dc21285.c | 10 ++++---- arch/arm/mach-footbridge/isa-timer.c | 4 +-- arch/arm/mach-h720x/cpu-h7201.c | 2 - arch/arm/mach-h720x/cpu-h7202.c | 2 - arch/arm/mach-imx/time.c | 2 - arch/arm/mach-integrator/core.c | 2 - arch/arm/mach-integrator/time.c | 2 - arch/arm/mach-iop3xx/iop321-time.c | 2 - arch/arm/mach-iop3xx/iop331-time.c | 2 - arch/arm/mach-ixp2000/core.c | 2 - arch/arm/mach-ixp23xx/core.c | 2 - arch/arm/mach-ixp4xx/common.c | 2 - arch/arm/mach-ixp4xx/nas100d-power.c | 2 - arch/arm/mach-ixp4xx/nslu2-power.c | 4 +-- arch/arm/mach-lh7a40x/time.c | 2 - arch/arm/mach-netx/time.c | 2 - arch/arm/mach-omap1/board-osk.c | 2 - arch/arm/mach-omap1/fpga.c | 2 - arch/arm/mach-omap1/pm.c | 2 - arch/arm/mach-omap1/serial.c | 2 - arch/arm/mach-omap1/time.c | 4 +-- arch/arm/mach-omap2/board-apollon.c | 6 ++--- arch/arm/mach-omap2/timer-gp.c | 2 - arch/arm/mach-pnx4008/time.c | 2 - arch/arm/mach-pxa/corgi.c | 2 - arch/arm/mach-pxa/lubbock.c | 2 - arch/arm/mach-pxa/mainstone.c | 2 - arch/arm/mach-pxa/poodle.c | 2 - arch/arm/mach-pxa/sharpsl_pm.c | 8 +++---- arch/arm/mach-pxa/spitz.c | 2 - arch/arm/mach-pxa/time.c | 2 - arch/arm/mach-pxa/tosa.c | 2 - arch/arm/mach-realview/core.c | 2 - arch/arm/mach-rpc/dma.c | 2 - arch/arm/mach-s3c2410/dma.c | 2 - arch/arm/mach-s3c2410/time.c | 2 - arch/arm/mach-s3c2410/usb-simtec.c | 4 +-- arch/arm/mach-sa1100/collie_pm.c | 4 +-- arch/arm/mach-sa1100/dma.c | 2 - arch/arm/mach-sa1100/h3600.c | 2 - arch/arm/mach-sa1100/time.c | 2 - arch/arm/mach-shark/core.c | 2 - arch/arm/mach-versatile/core.c | 2 - arch/arm/oprofile/op_model_xscale.c | 2 - arch/arm/plat-omap/dma.c | 2 - arch/arm/plat-omap/pm.c | 2 - arch/arm/plat-omap/timer32k.c | 2 - include/asm-arm/floppy.h | 2 - include/asm-arm/irq.h | 2 - include/asm-arm/signal.h | 6 ----- 59 files changed, 83 insertions(+), 89 deletions(-) diff -puN arch/arm/common/time-acorn.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/common/time-acorn.c --- a/arch/arm/common/time-acorn.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/common/time-acorn.c @@ -76,7 +76,7 @@ ioc_timer_interrupt(int irq, void *dev_i static struct irqaction ioc_timer_irq = { .name = "timer", - .flags = SA_INTERRUPT, + .flags = IRQF_DISABLED, .handler = ioc_timer_interrupt }; diff -puN arch/arm/kernel/irq.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/kernel/irq.c --- a/arch/arm/kernel/irq.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/kernel/irq.c @@ -340,7 +340,7 @@ __do_irq(unsigned int irq, struct irqact spin_unlock(&irq_controller_lock); #ifdef CONFIG_NO_IDLE_HZ - if (!(action->flags & SA_TIMER) && system_timer->dyn_tick != NULL) { + if (!(action->flags & IRQF_TIMER) && system_timer->dyn_tick != NULL) { spin_lock(&system_timer->dyn_tick->lock); if (system_timer->dyn_tick->state & DYN_TICK_ENABLED) system_timer->dyn_tick->handler(irq, 0, regs); @@ -348,7 +348,7 @@ __do_irq(unsigned int irq, struct irqact } #endif - if (!(action->flags & SA_INTERRUPT)) + if (!(action->flags & IRQF_DISABLED)) local_irq_enable(); status = 0; @@ -360,7 +360,7 @@ __do_irq(unsigned int irq, struct irqact action = action->next; } while (action); - if (status & SA_SAMPLE_RANDOM) + if (status & IRQF_SAMPLE_RANDOM) add_interrupt_randomness(irq); spin_lock_irq(&irq_controller_lock); @@ -669,7 +669,7 @@ int setup_irq(unsigned int irq, struct i * so we have to be careful not to interfere with a * running system. */ - if (new->flags & SA_SAMPLE_RANDOM) { + if (new->flags & IRQF_SAMPLE_RANDOM) { /* * This function might sleep, we want to call it first, * outside of the atomic block. @@ -692,8 +692,8 @@ int setup_irq(unsigned int irq, struct i * Can't share interrupts unless both agree to and are * the same type. */ - if (!(old->flags & new->flags & SA_SHIRQ) || - (~old->flags & new->flags) & SA_TRIGGER_MASK) { + if (!(old->flags & new->flags & IRQF_SHARED) || + (~old->flags & new->flags) & IRQF_TRIGGER_MASK) { spin_unlock_irqrestore(&irq_controller_lock, flags); return -EBUSY; } @@ -714,9 +714,9 @@ int setup_irq(unsigned int irq, struct i desc->pending = 0; desc->disable_depth = 1; - if (new->flags & SA_TRIGGER_MASK && + if (new->flags & IRQF_TRIGGER_MASK && desc->chip->set_type) { - unsigned int type = new->flags & SA_TRIGGER_MASK; + unsigned int type = new->flags & IRQF_TRIGGER_MASK; desc->chip->set_type(irq, type); } @@ -754,11 +754,11 @@ int setup_irq(unsigned int irq, struct i * * Flags: * - * SA_SHIRQ Interrupt is shared + * IRQF_SHARED Interrupt is shared * - * SA_INTERRUPT Disable local interrupts while processing + * IRQF_DISABLED Disable local interrupts while processing * - * SA_SAMPLE_RANDOM The interrupt can be used for entropy + * IRQF_SAMPLE_RANDOM The interrupt can be used for entropy * */ int request_irq(unsigned int irq, irqreturn_t (*handler)(int, void *, struct pt_regs *), @@ -768,7 +768,7 @@ int request_irq(unsigned int irq, irqret struct irqaction *action; if (irq >= NR_IRQS || !irq_desc[irq].valid || !handler || - (irq_flags & SA_SHIRQ && !dev_id)) + (irq_flags & IRQF_SHARED && !dev_id)) return -EINVAL; action = (struct irqaction *)kmalloc(sizeof(struct irqaction), GFP_KERNEL); diff -puN arch/arm/mach-aaec2000/core.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-aaec2000/core.c --- a/arch/arm/mach-aaec2000/core.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-aaec2000/core.c @@ -142,7 +142,7 @@ aaec2000_timer_interrupt(int irq, void * static struct irqaction aaec2000_timer_irq = { .name = "AAEC-2000 Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = aaec2000_timer_interrupt, }; diff -puN arch/arm/mach-at91rm9200/time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-at91rm9200/time.c --- a/arch/arm/mach-at91rm9200/time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-at91rm9200/time.c @@ -85,7 +85,7 @@ static irqreturn_t at91rm9200_timer_inte static struct irqaction at91rm9200_timer_irq = { .name = "at91_tick", - .flags = SA_SHIRQ | SA_INTERRUPT | SA_TIMER, + .flags = IRQF_SHARED | IRQF_DISABLED | IRQF_TIMER, .handler = at91rm9200_timer_interrupt }; diff -puN arch/arm/mach-clps711x/time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-clps711x/time.c --- a/arch/arm/mach-clps711x/time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-clps711x/time.c @@ -57,7 +57,7 @@ p720t_timer_interrupt(int irq, void *dev static struct irqaction clps711x_timer_irq = { .name = "CLPS711x Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = p720t_timer_interrupt, }; diff -puN arch/arm/mach-clps7500/core.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-clps7500/core.c --- a/arch/arm/mach-clps7500/core.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-clps7500/core.c @@ -315,7 +315,7 @@ clps7500_timer_interrupt(int irq, void * static struct irqaction clps7500_timer_irq = { .name = "CLPS7500 Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = clps7500_timer_interrupt, }; diff -puN arch/arm/mach-ebsa110/core.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-ebsa110/core.c --- a/arch/arm/mach-ebsa110/core.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-ebsa110/core.c @@ -199,7 +199,7 @@ ebsa110_timer_interrupt(int irq, void *d static struct irqaction ebsa110_timer_irq = { .name = "EBSA110 Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = ebsa110_timer_interrupt, }; diff -puN arch/arm/mach-ep93xx/core.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-ep93xx/core.c --- a/arch/arm/mach-ep93xx/core.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-ep93xx/core.c @@ -116,7 +116,7 @@ static int ep93xx_timer_interrupt(int ir static struct irqaction ep93xx_timer_irq = { .name = "ep93xx timer", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = ep93xx_timer_interrupt, }; diff -puN arch/arm/mach-footbridge/dc21285.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-footbridge/dc21285.c --- a/arch/arm/mach-footbridge/dc21285.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-footbridge/dc21285.c @@ -332,15 +332,15 @@ void __init dc21285_preinit(void) /* * We don't care if these fail. */ - request_irq(IRQ_PCI_SERR, dc21285_serr_irq, SA_INTERRUPT, + request_irq(IRQ_PCI_SERR, dc21285_serr_irq, IRQF_DISABLED, "PCI system error", &serr_timer); - request_irq(IRQ_PCI_PERR, dc21285_parity_irq, SA_INTERRUPT, + request_irq(IRQ_PCI_PERR, dc21285_parity_irq, IRQF_DISABLED, "PCI parity error", &perr_timer); - request_irq(IRQ_PCI_ABORT, dc21285_abort_irq, SA_INTERRUPT, + request_irq(IRQ_PCI_ABORT, dc21285_abort_irq, IRQF_DISABLED, "PCI abort", NULL); - request_irq(IRQ_DISCARD_TIMER, dc21285_discard_irq, SA_INTERRUPT, + request_irq(IRQ_DISCARD_TIMER, dc21285_discard_irq, IRQF_DISABLED, "Discard timer", NULL); - request_irq(IRQ_PCI_DPERR, dc21285_dparity_irq, SA_INTERRUPT, + request_irq(IRQ_PCI_DPERR, dc21285_dparity_irq, IRQF_DISABLED, "PCI data parity", NULL); if (cfn_mode) { diff -puN arch/arm/mach-footbridge/dc21285-timer.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-footbridge/dc21285-timer.c --- a/arch/arm/mach-footbridge/dc21285-timer.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-footbridge/dc21285-timer.c @@ -43,7 +43,7 @@ timer1_interrupt(int irq, void *dev_id, static struct irqaction footbridge_timer_irq = { .name = "Timer1 timer tick", .handler = timer1_interrupt, - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, }; /* diff -puN arch/arm/mach-footbridge/isa-timer.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-footbridge/isa-timer.c --- a/arch/arm/mach-footbridge/isa-timer.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-footbridge/isa-timer.c @@ -72,7 +72,7 @@ isa_timer_interrupt(int irq, void *dev_i static struct irqaction isa_timer_irq = { .name = "ISA timer tick", .handler = isa_timer_interrupt, - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, }; static void __init isa_timer_init(void) @@ -85,7 +85,7 @@ static void __init isa_timer_init(void) outb((mSEC_10_from_14/6) & 0xFF, 0x40); outb((mSEC_10_from_14/6) >> 8, 0x40); - setup_irq(IRQ_ISA_TIMER, &isa_timer_irq); + setup_irq(IRQ_IIRQF_TIMER, &isa_timer_irq); } struct sys_timer isa_timer = { diff -puN arch/arm/mach-h720x/cpu-h7201.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-h720x/cpu-h7201.c --- a/arch/arm/mach-h720x/cpu-h7201.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-h720x/cpu-h7201.c @@ -41,7 +41,7 @@ h7201_timer_interrupt(int irq, void *dev static struct irqaction h7201_timer_irq = { .name = "h7201 Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = h7201_timer_interrupt, }; diff -puN arch/arm/mach-h720x/cpu-h7202.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-h720x/cpu-h7202.c --- a/arch/arm/mach-h720x/cpu-h7202.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-h720x/cpu-h7202.c @@ -171,7 +171,7 @@ static struct irqchip h7202_timerx_chip static struct irqaction h7202_timer_irq = { .name = "h7202 Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = h7202_timer_interrupt, }; diff -puN arch/arm/mach-imx/time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-imx/time.c --- a/arch/arm/mach-imx/time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-imx/time.c @@ -71,7 +71,7 @@ imx_timer_interrupt(int irq, void *dev_i static struct irqaction imx_timer_irq = { .name = "i.MX Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = imx_timer_interrupt, }; diff -puN arch/arm/mach-integrator/core.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-integrator/core.c --- a/arch/arm/mach-integrator/core.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-integrator/core.c @@ -281,7 +281,7 @@ integrator_timer_interrupt(int irq, void static struct irqaction integrator_timer_irq = { .name = "Integrator Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = integrator_timer_interrupt, }; diff -puN arch/arm/mach-integrator/time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-integrator/time.c --- a/arch/arm/mach-integrator/time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-integrator/time.c @@ -125,7 +125,7 @@ static int rtc_probe(struct amba_device xtime.tv_sec = __raw_readl(rtc_base + RTC_DR); - ret = request_irq(dev->irq[0], arm_rtc_interrupt, SA_INTERRUPT, + ret = request_irq(dev->irq[0], arm_rtc_interrupt, IRQF_DISABLED, "rtc-pl030", dev); if (ret) goto map_out; diff -puN arch/arm/mach-iop3xx/iop321-time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-iop3xx/iop321-time.c --- a/arch/arm/mach-iop3xx/iop321-time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-iop3xx/iop321-time.c @@ -85,7 +85,7 @@ iop321_timer_interrupt(int irq, void *de static struct irqaction iop321_timer_irq = { .name = "IOP321 Timer Tick", .handler = iop321_timer_interrupt, - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, }; static void __init iop321_timer_init(void) diff -puN arch/arm/mach-iop3xx/iop331-time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-iop3xx/iop331-time.c --- a/arch/arm/mach-iop3xx/iop331-time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-iop3xx/iop331-time.c @@ -82,7 +82,7 @@ iop331_timer_interrupt(int irq, void *de static struct irqaction iop331_timer_irq = { .name = "IOP331 Timer Tick", .handler = iop331_timer_interrupt, - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, }; static void __init iop331_timer_init(void) diff -puN arch/arm/mach-ixp2000/core.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-ixp2000/core.c --- a/arch/arm/mach-ixp2000/core.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-ixp2000/core.c @@ -223,7 +223,7 @@ static int ixp2000_timer_interrupt(int i static struct irqaction ixp2000_timer_irq = { .name = "IXP2000 Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = ixp2000_timer_interrupt, }; diff -puN arch/arm/mach-ixp23xx/core.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-ixp23xx/core.c --- a/arch/arm/mach-ixp23xx/core.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-ixp23xx/core.c @@ -363,7 +363,7 @@ ixp23xx_timer_interrupt(int irq, void *d static struct irqaction ixp23xx_timer_irq = { .name = "IXP23xx Timer Tick", .handler = ixp23xx_timer_interrupt, - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, }; void __init ixp23xx_init_timer(void) diff -puN arch/arm/mach-ixp4xx/common.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-ixp4xx/common.c --- a/arch/arm/mach-ixp4xx/common.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-ixp4xx/common.c @@ -287,7 +287,7 @@ static irqreturn_t ixp4xx_timer_interrup static struct irqaction ixp4xx_timer_irq = { .name = "IXP4xx Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = ixp4xx_timer_interrupt, }; diff -puN arch/arm/mach-ixp4xx/nas100d-power.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-ixp4xx/nas100d-power.c --- a/arch/arm/mach-ixp4xx/nas100d-power.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-ixp4xx/nas100d-power.c @@ -42,7 +42,7 @@ static int __init nas100d_power_init(voi set_irq_type(NAS100D_RB_IRQ, IRQT_LOW); if (request_irq(NAS100D_RB_IRQ, &nas100d_reset_handler, - SA_INTERRUPT, "NAS100D reset button", NULL) < 0) { + IRQF_DISABLED, "NAS100D reset button", NULL) < 0) { printk(KERN_DEBUG "Reset Button IRQ %d not available\n", NAS100D_RB_IRQ); diff -puN arch/arm/mach-ixp4xx/nslu2-power.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-ixp4xx/nslu2-power.c --- a/arch/arm/mach-ixp4xx/nslu2-power.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-ixp4xx/nslu2-power.c @@ -54,7 +54,7 @@ static int __init nslu2_power_init(void) set_irq_type(NSLU2_PB_IRQ, IRQT_HIGH); if (request_irq(NSLU2_RB_IRQ, &nslu2_reset_handler, - SA_INTERRUPT, "NSLU2 reset button", NULL) < 0) { + IRQF_DISABLED, "NSLU2 reset button", NULL) < 0) { printk(KERN_DEBUG "Reset Button IRQ %d not available\n", NSLU2_RB_IRQ); @@ -63,7 +63,7 @@ static int __init nslu2_power_init(void) } if (request_irq(NSLU2_PB_IRQ, &nslu2_power_handler, - SA_INTERRUPT, "NSLU2 power button", NULL) < 0) { + IRQF_DISABLED, "NSLU2 power button", NULL) < 0) { printk(KERN_DEBUG "Power Button IRQ %d not available\n", NSLU2_PB_IRQ); diff -puN arch/arm/mach-lh7a40x/time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-lh7a40x/time.c --- a/arch/arm/mach-lh7a40x/time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-lh7a40x/time.c @@ -52,7 +52,7 @@ lh7a40x_timer_interrupt(int irq, void *d static struct irqaction lh7a40x_timer_irq = { .name = "LHA740x Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = lh7a40x_timer_interrupt, }; diff -puN arch/arm/mach-netx/time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-netx/time.c --- a/arch/arm/mach-netx/time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-netx/time.c @@ -54,7 +54,7 @@ netx_timer_interrupt(int irq, void *dev_ static struct irqaction netx_timer_irq = { .name = "NetX Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = netx_timer_interrupt, }; diff -puN arch/arm/mach-omap1/board-osk.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-omap1/board-osk.c --- a/arch/arm/mach-omap1/board-osk.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-omap1/board-osk.c @@ -318,7 +318,7 @@ static void __init osk_mistral_init(void */ ret = request_irq(OMAP_GPIO_IRQ(OMAP_MPUIO(2)), &osk_mistral_wake_interrupt, - SA_SHIRQ, "mistral_wakeup", + IRQF_SHARED, "mistral_wakeup", &osk_mistral_wake_interrupt); if (ret != 0) { omap_free_gpio(OMAP_MPUIO(2)); diff -puN arch/arm/mach-omap1/fpga.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-omap1/fpga.c --- a/arch/arm/mach-omap1/fpga.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-omap1/fpga.c @@ -133,7 +133,7 @@ static struct irqchip omap_fpga_irq = { * mask_ack routine for all of the FPGA interrupts has been changed from * fpga_mask_ack_irq() to fpga_ack_irq() so that the specific FPGA interrupt * being serviced is left unmasked. We can do this because the FPGA cascade - * interrupt is installed with the SA_INTERRUPT flag, which leaves all + * interrupt is installed with the IRQF_DISABLED flag, which leaves all * interrupts masked at the CPU while an FPGA interrupt handler executes. * * Limited testing indicates that this workaround appears to be effective diff -puN arch/arm/mach-omap1/pm.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-omap1/pm.c --- a/arch/arm/mach-omap1/pm.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-omap1/pm.c @@ -687,7 +687,7 @@ static irqreturn_t omap_wakeup_interrup static struct irqaction omap_wakeup_irq = { .name = "peripheral wakeup", - .flags = SA_INTERRUPT, + .flags = IRQF_DISABLED, .handler = omap_wakeup_interrupt }; diff -puN arch/arm/mach-omap1/serial.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-omap1/serial.c --- a/arch/arm/mach-omap1/serial.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-omap1/serial.c @@ -252,7 +252,7 @@ static void __init omap_serial_set_port_ } omap_set_gpio_direction(gpio_nr, 1); ret = request_irq(OMAP_GPIO_IRQ(gpio_nr), &omap_serial_wake_interrupt, - SA_TRIGGER_RISING, "serial wakeup", NULL); + IRQF_TRIGGER_RISING, "serial wakeup", NULL); if (ret) { omap_free_gpio(gpio_nr); printk(KERN_ERR "No interrupt for UART wake GPIO: %i\n", diff -puN arch/arm/mach-omap1/time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-omap1/time.c --- a/arch/arm/mach-omap1/time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-omap1/time.c @@ -177,7 +177,7 @@ static irqreturn_t omap_mpu_timer_interr static struct irqaction omap_mpu_timer_irq = { .name = "mpu timer", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = omap_mpu_timer_interrupt, }; @@ -191,7 +191,7 @@ static irqreturn_t omap_mpu_timer1_inter static struct irqaction omap_mpu_timer1_irq = { .name = "mpu timer1 overflow", - .flags = SA_INTERRUPT, + .flags = IRQF_DISABLED, .handler = omap_mpu_timer1_interrupt, }; diff -puN arch/arm/mach-omap2/board-apollon.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-omap2/board-apollon.c --- a/arch/arm/mach-omap2/board-apollon.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-omap2/board-apollon.c @@ -234,17 +234,17 @@ static void __init apollon_sw_init(void) set_irq_type(OMAP_GPIO_IRQ(SW_ENTER_GPIO16), IRQT_RISING); if (request_irq(OMAP_GPIO_IRQ(SW_ENTER_GPIO16), &apollon_sw_interrupt, - SA_SHIRQ, "enter sw", + IRQF_SHARED, "enter sw", &apollon_sw_interrupt)) return; set_irq_type(OMAP_GPIO_IRQ(SW_UP_GPIO17), IRQT_RISING); if (request_irq(OMAP_GPIO_IRQ(SW_UP_GPIO17), &apollon_sw_interrupt, - SA_SHIRQ, "up sw", + IRQF_SHARED, "up sw", &apollon_sw_interrupt)) return; set_irq_type(OMAP_GPIO_IRQ(SW_DOWN_GPIO58), IRQT_RISING); if (request_irq(OMAP_GPIO_IRQ(SW_DOWN_GPIO58), &apollon_sw_interrupt, - SA_SHIRQ, "down sw", + IRQF_SHARED, "down sw", &apollon_sw_interrupt)) return; } diff -puN arch/arm/mach-omap2/timer-gp.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-omap2/timer-gp.c --- a/arch/arm/mach-omap2/timer-gp.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-omap2/timer-gp.c @@ -87,7 +87,7 @@ static irqreturn_t omap2_gp_timer_interr static struct irqaction omap2_gp_timer_irq = { .name = "gp timer", - .flags = SA_INTERRUPT, + .flags = IRQF_DISABLED, .handler = omap2_gp_timer_interrupt, }; diff -puN arch/arm/mach-pnx4008/time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-pnx4008/time.c --- a/arch/arm/mach-pnx4008/time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-pnx4008/time.c @@ -86,7 +86,7 @@ static irqreturn_t pnx4008_timer_interru static struct irqaction pnx4008_timer_irq = { .name = "PNX4008 Tick Timer", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = pnx4008_timer_interrupt }; diff -puN arch/arm/mach-pxa/corgi.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-pxa/corgi.c --- a/arch/arm/mach-pxa/corgi.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-pxa/corgi.c @@ -225,7 +225,7 @@ static int corgi_mci_init(struct device corgi_mci_platform_data.detect_delay = msecs_to_jiffies(250); err = request_irq(CORGI_IRQ_GPIO_nSD_DETECT, corgi_detect_int, - SA_INTERRUPT | SA_TRIGGER_RISING | SA_TRIGGER_FALLING, + IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, "MMC card detect", data); if (err) { printk(KERN_ERR "corgi_mci_init: MMC/SD: can't request MMC card detect IRQ\n"); diff -puN arch/arm/mach-pxa/lubbock.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-pxa/lubbock.c --- a/arch/arm/mach-pxa/lubbock.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-pxa/lubbock.c @@ -419,7 +419,7 @@ static int lubbock_mci_init(struct devic init_timer(&mmc_timer); mmc_timer.data = (unsigned long) data; return request_irq(LUBBOCK_SD_IRQ, lubbock_detect_int, - SA_SAMPLE_RANDOM, "lubbock-sd-detect", data); + IRQF_SAMPLE_RANDOM, "lubbock-sd-detect", data); } static int lubbock_mci_get_ro(struct device *dev) diff -puN arch/arm/mach-pxa/mainstone.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-pxa/mainstone.c --- a/arch/arm/mach-pxa/mainstone.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-pxa/mainstone.c @@ -331,7 +331,7 @@ static int mainstone_mci_init(struct dev */ MST_MSCWR1 &= ~MST_MSCWR1_MS_SEL; - err = request_irq(MAINSTONE_MMC_IRQ, mstone_detect_int, SA_INTERRUPT, + err = request_irq(MAINSTONE_MMC_IRQ, mstone_detect_int, IRQF_DISABLED, "MMC card detect", data); if (err) { printk(KERN_ERR "mainstone_mci_init: MMC/SD: can't request MMC card detect IRQ\n"); diff -puN arch/arm/mach-pxa/poodle.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-pxa/poodle.c --- a/arch/arm/mach-pxa/poodle.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-pxa/poodle.c @@ -212,7 +212,7 @@ static int poodle_mci_init(struct device poodle_mci_platform_data.detect_delay = msecs_to_jiffies(250); err = request_irq(POODLE_IRQ_GPIO_nSD_DETECT, poodle_detect_int, - SA_INTERRUPT | SA_TRIGGER_RISING | SA_TRIGGER_FALLING, + IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, "MMC card detect", data); if (err) { printk(KERN_ERR "poodle_mci_init: MMC/SD: can't request MMC card detect IRQ\n"); diff -puN arch/arm/mach-pxa/sharpsl_pm.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-pxa/sharpsl_pm.c --- a/arch/arm/mach-pxa/sharpsl_pm.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-pxa/sharpsl_pm.c @@ -142,18 +142,18 @@ void sharpsl_pm_pxa_init(void) pxa_gpio_mode(sharpsl_pm.machinfo->gpio_batlock | GPIO_IN); /* Register interrupt handlers */ - if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_acin), sharpsl_ac_isr, SA_INTERRUPT, "AC Input Detect", sharpsl_ac_isr)) { + if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_acin), sharpsl_ac_isr, IRQF_DISABLED, "AC Input Detect", sharpsl_ac_isr)) { dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_acin)); } else set_irq_type(IRQ_GPIO(sharpsl_pm.machinfo->gpio_acin),IRQT_BOTHEDGE); - if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock), sharpsl_fatal_isr, SA_INTERRUPT, "Battery Cover", sharpsl_fatal_isr)) { + if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock), sharpsl_fatal_isr, IRQF_DISABLED, "Battery Cover", sharpsl_fatal_isr)) { dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock)); } else set_irq_type(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batlock),IRQT_FALLING); if (sharpsl_pm.machinfo->gpio_fatal) { - if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_fatal), sharpsl_fatal_isr, SA_INTERRUPT, "Fatal Battery", sharpsl_fatal_isr)) { + if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_fatal), sharpsl_fatal_isr, IRQF_DISABLED, "Fatal Battery", sharpsl_fatal_isr)) { dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_fatal)); } else set_irq_type(IRQ_GPIO(sharpsl_pm.machinfo->gpio_fatal),IRQT_FALLING); @@ -162,7 +162,7 @@ void sharpsl_pm_pxa_init(void) if (sharpsl_pm.machinfo->batfull_irq) { /* Register interrupt handler. */ - if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batfull), sharpsl_chrg_full_isr, SA_INTERRUPT, "CO", sharpsl_chrg_full_isr)) { + if (request_irq(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batfull), sharpsl_chrg_full_isr, IRQF_DISABLED, "CO", sharpsl_chrg_full_isr)) { dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", IRQ_GPIO(sharpsl_pm.machinfo->gpio_batfull)); } else set_irq_type(IRQ_GPIO(sharpsl_pm.machinfo->gpio_batfull),IRQT_RISING); diff -puN arch/arm/mach-pxa/spitz.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-pxa/spitz.c --- a/arch/arm/mach-pxa/spitz.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-pxa/spitz.c @@ -308,7 +308,7 @@ static int spitz_mci_init(struct device spitz_mci_platform_data.detect_delay = msecs_to_jiffies(250); err = request_irq(SPITZ_IRQ_GPIO_nSD_DETECT, spitz_detect_int, - SA_INTERRUPT | SA_TRIGGER_RISING | SA_TRIGGER_FALLING, + IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, "MMC card detect", data); if (err) { printk(KERN_ERR "spitz_mci_init: MMC/SD: can't request MMC card detect IRQ\n"); diff -puN arch/arm/mach-pxa/time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-pxa/time.c --- a/arch/arm/mach-pxa/time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-pxa/time.c @@ -117,7 +117,7 @@ pxa_timer_interrupt(int irq, void *dev_i static struct irqaction pxa_timer_irq = { .name = "PXA Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = pxa_timer_interrupt, }; diff -puN arch/arm/mach-pxa/tosa.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-pxa/tosa.c --- a/arch/arm/mach-pxa/tosa.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-pxa/tosa.c @@ -185,7 +185,7 @@ static int tosa_mci_init(struct device * tosa_mci_platform_data.detect_delay = msecs_to_jiffies(250); - err = request_irq(TOSA_IRQ_GPIO_nSD_DETECT, tosa_detect_int, SA_INTERRUPT, + err = request_irq(TOSA_IRQ_GPIO_nSD_DETECT, tosa_detect_int, IRQF_DISABLED, "MMC/SD card detect", data); if (err) { printk(KERN_ERR "tosa_mci_init: MMC/SD: can't request MMC card detect IRQ\n"); diff -puN arch/arm/mach-realview/core.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-realview/core.c --- a/arch/arm/mach-realview/core.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-realview/core.c @@ -536,7 +536,7 @@ static irqreturn_t realview_timer_interr static struct irqaction realview_timer_irq = { .name = "RealView Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = realview_timer_interrupt, }; diff -puN arch/arm/mach-rpc/dma.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-rpc/dma.c --- a/arch/arm/mach-rpc/dma.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-rpc/dma.c @@ -128,7 +128,7 @@ static irqreturn_t iomd_dma_handle(int i static int iomd_request_dma(dmach_t channel, dma_t *dma) { return request_irq(dma->dma_irq, iomd_dma_handle, - SA_INTERRUPT, dma->device_id, dma); + IRQF_DISABLED, dma->device_id, dma); } static void iomd_free_dma(dmach_t channel, dma_t *dma) diff -puN arch/arm/mach-s3c2410/dma.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-s3c2410/dma.c --- a/arch/arm/mach-s3c2410/dma.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-s3c2410/dma.c @@ -718,7 +718,7 @@ int s3c2410_dma_request(unsigned int cha pr_debug("dma%d: %s : requesting irq %d\n", channel, __FUNCTION__, chan->irq); - err = request_irq(chan->irq, s3c2410_dma_irq, SA_INTERRUPT, + err = request_irq(chan->irq, s3c2410_dma_irq, IRQF_DISABLED, client->name, (void *)chan); if (err) { diff -puN arch/arm/mach-s3c2410/time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-s3c2410/time.c --- a/arch/arm/mach-s3c2410/time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-s3c2410/time.c @@ -137,7 +137,7 @@ s3c2410_timer_interrupt(int irq, void *d static struct irqaction s3c2410_timer_irq = { .name = "S3C2410 Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = s3c2410_timer_interrupt, }; diff -puN arch/arm/mach-s3c2410/usb-simtec.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-s3c2410/usb-simtec.c --- a/arch/arm/mach-s3c2410/usb-simtec.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-s3c2410/usb-simtec.c @@ -85,8 +85,8 @@ static void usb_simtec_enableoc(struct s if (on) { ret = request_irq(IRQ_USBOC, usb_simtec_ocirq, - SA_INTERRUPT | SA_TRIGGER_RISING | - SA_TRIGGER_FALLING, + IRQF_DISABLED | IRQF_TRIGGER_RISING | + IRQF_TRIGGER_FALLING, "USB Over-current", info); if (ret != 0) { printk(KERN_ERR "failed to request usb oc irq\n"); diff -puN arch/arm/mach-sa1100/collie_pm.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-sa1100/collie_pm.c --- a/arch/arm/mach-sa1100/collie_pm.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-sa1100/collie_pm.c @@ -45,12 +45,12 @@ static void collie_charger_init(void) } /* Register interrupt handler. */ - if ((err = request_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr, SA_INTERRUPT, + if ((err = request_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr, IRQF_DISABLED, "ACIN", sharpsl_ac_isr))) { printk("Could not get irq %d.\n", COLLIE_IRQ_GPIO_AC_IN); return; } - if ((err = request_irq(COLLIE_IRQ_GPIO_CO, sharpsl_chrg_full_isr, SA_INTERRUPT, + if ((err = request_irq(COLLIE_IRQ_GPIO_CO, sharpsl_chrg_full_isr, IRQF_DISABLED, "CO", sharpsl_chrg_full_isr))) { free_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr); printk("Could not get irq %d.\n", COLLIE_IRQ_GPIO_CO); diff -puN arch/arm/mach-sa1100/dma.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-sa1100/dma.c --- a/arch/arm/mach-sa1100/dma.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-sa1100/dma.c @@ -124,7 +124,7 @@ int sa1100_request_dma (dma_device_t dev i = dma - dma_chan; regs = (dma_regs_t *)&DDAR(i); - err = request_irq(IRQ_DMA0 + i, dma_irq_handler, SA_INTERRUPT, + err = request_irq(IRQ_DMA0 + i, dma_irq_handler, IRQF_DISABLED, device_id, regs); if (err) { printk(KERN_ERR diff -puN arch/arm/mach-sa1100/h3600.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-sa1100/h3600.c --- a/arch/arm/mach-sa1100/h3600.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-sa1100/h3600.c @@ -740,7 +740,7 @@ static void h3800_IRQ_demux(unsigned int static struct irqaction h3800_irq = { .name = "h3800_asic", .handler = h3800_IRQ_demux, - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, }; u32 kpio_int_shadow = 0; diff -puN arch/arm/mach-sa1100/time.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-sa1100/time.c --- a/arch/arm/mach-sa1100/time.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-sa1100/time.c @@ -110,7 +110,7 @@ sa1100_timer_interrupt(int irq, void *de static struct irqaction sa1100_timer_irq = { .name = "SA11xx Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = sa1100_timer_interrupt, }; diff -puN arch/arm/mach-shark/core.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-shark/core.c --- a/arch/arm/mach-shark/core.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-shark/core.c @@ -89,7 +89,7 @@ shark_timer_interrupt(int irq, void *dev static struct irqaction shark_timer_irq = { .name = "Shark Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = shark_timer_interrupt, }; diff -puN arch/arm/mach-versatile/core.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/mach-versatile/core.c --- a/arch/arm/mach-versatile/core.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/mach-versatile/core.c @@ -869,7 +869,7 @@ static irqreturn_t versatile_timer_inter static struct irqaction versatile_timer_irq = { .name = "Versatile Timer Tick", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = versatile_timer_interrupt, }; diff -puN arch/arm/oprofile/op_model_xscale.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/oprofile/op_model_xscale.c --- a/arch/arm/oprofile/op_model_xscale.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/oprofile/op_model_xscale.c @@ -384,7 +384,7 @@ static int xscale_pmu_start(void) int ret; u32 pmnc = read_pmnc(); - ret = request_irq(XSCALE_PMU_IRQ, xscale_pmu_interrupt, SA_INTERRUPT, + ret = request_irq(XSCALE_PMU_IRQ, xscale_pmu_interrupt, IRQF_DISABLED, "XScale PMU", (void *)results); if (ret < 0) { diff -puN arch/arm/plat-omap/dma.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/plat-omap/dma.c --- a/arch/arm/plat-omap/dma.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/plat-omap/dma.c @@ -893,7 +893,7 @@ static irqreturn_t omap2_dma_irq_handler static struct irqaction omap24xx_dma_irq = { .name = "DMA", .handler = omap2_dma_irq_handler, - .flags = SA_INTERRUPT + .flags = IRQF_DISABLED }; #else diff -puN arch/arm/plat-omap/pm.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/plat-omap/pm.c --- a/arch/arm/plat-omap/pm.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/plat-omap/pm.c @@ -580,7 +580,7 @@ static irqreturn_t omap_wakeup_interrup static struct irqaction omap_wakeup_irq = { .name = "peripheral wakeup", - .flags = SA_INTERRUPT, + .flags = IRQF_DISABLED, .handler = omap_wakeup_interrupt }; diff -puN arch/arm/plat-omap/timer32k.c~irq-flags-arm-use-the-new-irqf_-constansts arch/arm/plat-omap/timer32k.c --- a/arch/arm/plat-omap/timer32k.c~irq-flags-arm-use-the-new-irqf_-constansts +++ a/arch/arm/plat-omap/timer32k.c @@ -264,7 +264,7 @@ static struct dyn_tick_timer omap_dyn_ti static struct irqaction omap_32k_timer_irq = { .name = "32KHz timer", - .flags = SA_INTERRUPT | SA_TIMER, + .flags = IRQF_DISABLED | IRQF_TIMER, .handler = omap_32k_timer_interrupt, }; diff -puN include/asm-arm/floppy.h~irq-flags-arm-use-the-new-irqf_-constansts include/asm-arm/floppy.h --- a/include/asm-arm/floppy.h~irq-flags-arm-use-the-new-irqf_-constansts +++ a/include/asm-arm/floppy.h @@ -25,7 +25,7 @@ #define fd_inb(port) inb((port)) #define fd_request_irq() request_irq(IRQ_FLOPPYDISK,floppy_interrupt,\ - SA_INTERRUPT,"floppy",NULL) + IRQF_DISABLED,"floppy",NULL) #define fd_free_irq() free_irq(IRQ_FLOPPYDISK,NULL) #define fd_disable_irq() disable_irq(IRQ_FLOPPYDISK) #define fd_enable_irq() enable_irq(IRQ_FLOPPYDISK) diff -puN include/asm-arm/irq.h~irq-flags-arm-use-the-new-irqf_-constansts include/asm-arm/irq.h --- a/include/asm-arm/irq.h~irq-flags-arm-use-the-new-irqf_-constansts +++ a/include/asm-arm/irq.h @@ -26,7 +26,7 @@ extern void disable_irq(unsigned int); extern void enable_irq(unsigned int); /* - * These correspond with the SA_TRIGGER_* defines, and therefore the + * These correspond with the IRQF_TRIGGER_* defines, and therefore the * IORESOURCE_IRQ_* defines. */ #define __IRQT_RISEDGE (1 << 0) diff -puN include/asm-arm/signal.h~irq-flags-arm-use-the-new-irqf_-constansts include/asm-arm/signal.h --- a/include/asm-arm/signal.h~irq-flags-arm-use-the-new-irqf_-constansts +++ a/include/asm-arm/signal.h @@ -82,7 +82,6 @@ typedef unsigned long sigset_t; * is running in 26-bit. * SA_ONSTACK allows alternate signal stacks (see sigaltstack(2)). * SA_RESTART flag to get restarting signals (which were the default long ago) - * SA_INTERRUPT is a no-op, but left due to historical reasons. Use the * SA_NODEFER prevents the current signal from being masked in the handler. * SA_RESETHAND clears the handler when the signal is delivered. * @@ -101,7 +100,6 @@ typedef unsigned long sigset_t; #define SA_NOMASK SA_NODEFER #define SA_ONESHOT SA_RESETHAND -#define SA_INTERRUPT 0x20000000 /* dummy -- ignored */ /* @@ -113,10 +111,6 @@ typedef unsigned long sigset_t; #define MINSIGSTKSZ 2048 #define SIGSTKSZ 8192 -#ifdef __KERNEL__ -#define SA_TIMER 0x40000000 -#endif - #include <asm-generic/signal.h> #ifdef __KERNEL__ _ Patches currently in -mm which might be from tglx@xxxxxxxxxxxxx are origin.patch genirq-ia64-cleanup.patch lockdep-add-disable-enable_irq_lockdep-api.patch git-mtd.patch genirq-convert-the-x86_64-architecture-to-irq-chips.patch genirq-convert-the-i386-architecture-to-irq-chips.patch genirq-irq-convert-the-move_irq-flag-from-a-32bit-word-to-a-single-bit.patch genirq-irq-add-moved_masked_irq.patch genirq-x86_64-irq-reenable-migrating-irqs-to-other-cpus.patch genirq-msi-simplify-msi-enable-and-disable.patch genirq-msi-make-the-msi-boolean-tests-return-either-0-or-1.patch genirq-msi-implement-helper-functions-read_msi_msg-and-write_msi_msg.patch genirq-msi-refactor-the-msi_ops.patch genirq-msi-simplify-the-msi-irq-limit-policy.patch genirq-irq-add-a-dynamic-irq-creation-api.patch genirq-ia64-irq-dynamic-irq-support.patch genirq-i386-irq-dynamic-irq-support.patch genirq-x86_64-irq-dynamic-irq-support.patch genirq-msi-make-the-msi-code-irq-based-and-not-vector-based.patch genirq-x86_64-irq-move-msi-message-composition-into-io_apicc.patch genirq-i386-irq-move-msi-message-composition-into-io_apicc.patch genirq-msi-only-build-msi-apicc-on-ia64.patch genirq-x86_64-irq-remove-the-msi-assumption-that-irq-==-vector.patch genirq-i386-irq-remove-the-msi-assumption-that-irq-==-vector.patch genirq-irq-remove-msi-hacks.patch genirq-irq-generalize-the-check-for-hardirq_bits.patch genirq-x86_64-irq-make-the-external-irq-handlers-report-their-vector-not-the-irq-number.patch genirq-x86_64-irq-make-vector_irq-per-cpu.patch genirq-x86_64-irq-kill-gsi_irq_sharing.patch genirq-x86_64-irq-kill-irq-compression.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html