diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-02 20:20:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-02 20:29:22 -0400 |
commit | 52e405eaa9806968e88b35d65e57acad954a5ab5 (patch) | |
tree | b42e2d50c4f9d1b00baf5a8b54309ffdf1950456 /arch/arm/mach-ixp4xx | |
parent | d061daa0e3abdddc28e21a37c8ac4536dedbf239 (diff) |
[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>
Diffstat (limited to 'arch/arm/mach-ixp4xx')
-rw-r--r-- | arch/arm/mach-ixp4xx/common.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/nas100d-power.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/nslu2-power.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c index 13c7c629d037..7c25dbd5a181 100644 --- a/arch/arm/mach-ixp4xx/common.c +++ b/arch/arm/mach-ixp4xx/common.c | |||
@@ -287,7 +287,7 @@ static irqreturn_t ixp4xx_timer_interrupt(int irq, void *dev_id, struct pt_regs | |||
287 | 287 | ||
288 | static struct irqaction ixp4xx_timer_irq = { | 288 | static struct irqaction ixp4xx_timer_irq = { |
289 | .name = "IXP4xx Timer Tick", | 289 | .name = "IXP4xx Timer Tick", |
290 | .flags = SA_INTERRUPT | SA_TIMER, | 290 | .flags = IRQF_DISABLED | IRQF_TIMER, |
291 | .handler = ixp4xx_timer_interrupt, | 291 | .handler = ixp4xx_timer_interrupt, |
292 | }; | 292 | }; |
293 | 293 | ||
diff --git a/arch/arm/mach-ixp4xx/nas100d-power.c b/arch/arm/mach-ixp4xx/nas100d-power.c index f58a1d05a02e..81ffcae1f56e 100644 --- a/arch/arm/mach-ixp4xx/nas100d-power.c +++ b/arch/arm/mach-ixp4xx/nas100d-power.c | |||
@@ -42,7 +42,7 @@ static int __init nas100d_power_init(void) | |||
42 | set_irq_type(NAS100D_RB_IRQ, IRQT_LOW); | 42 | set_irq_type(NAS100D_RB_IRQ, IRQT_LOW); |
43 | 43 | ||
44 | if (request_irq(NAS100D_RB_IRQ, &nas100d_reset_handler, | 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 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", | 47 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", |
48 | NAS100D_RB_IRQ); | 48 | NAS100D_RB_IRQ); |
diff --git a/arch/arm/mach-ixp4xx/nslu2-power.c b/arch/arm/mach-ixp4xx/nslu2-power.c index 6d38e97142cc..e2a2230b69f0 100644 --- a/arch/arm/mach-ixp4xx/nslu2-power.c +++ b/arch/arm/mach-ixp4xx/nslu2-power.c | |||
@@ -54,7 +54,7 @@ static int __init nslu2_power_init(void) | |||
54 | set_irq_type(NSLU2_PB_IRQ, IRQT_HIGH); | 54 | set_irq_type(NSLU2_PB_IRQ, IRQT_HIGH); |
55 | 55 | ||
56 | if (request_irq(NSLU2_RB_IRQ, &nslu2_reset_handler, | 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 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", | 59 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", |
60 | NSLU2_RB_IRQ); | 60 | NSLU2_RB_IRQ); |
@@ -63,7 +63,7 @@ static int __init nslu2_power_init(void) | |||
63 | } | 63 | } |
64 | 64 | ||
65 | if (request_irq(NSLU2_PB_IRQ, &nslu2_power_handler, | 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 | printk(KERN_DEBUG "Power Button IRQ %d not available\n", | 68 | printk(KERN_DEBUG "Power Button IRQ %d not available\n", |
69 | NSLU2_PB_IRQ); | 69 | NSLU2_PB_IRQ); |