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-sa1100 | |
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-sa1100')
-rw-r--r-- | arch/arm/mach-sa1100/collie_pm.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/dma.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/h3600.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/time.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-sa1100/collie_pm.c b/arch/arm/mach-sa1100/collie_pm.c index 696d7d29c8a5..45b1e71f111d 100644 --- a/arch/arm/mach-sa1100/collie_pm.c +++ b/arch/arm/mach-sa1100/collie_pm.c | |||
@@ -45,12 +45,12 @@ static void collie_charger_init(void) | |||
45 | } | 45 | } |
46 | 46 | ||
47 | /* Register interrupt handler. */ | 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 | "ACIN", sharpsl_ac_isr))) { | 49 | "ACIN", sharpsl_ac_isr))) { |
50 | printk("Could not get irq %d.\n", COLLIE_IRQ_GPIO_AC_IN); | 50 | printk("Could not get irq %d.\n", COLLIE_IRQ_GPIO_AC_IN); |
51 | return; | 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 | "CO", sharpsl_chrg_full_isr))) { | 54 | "CO", sharpsl_chrg_full_isr))) { |
55 | free_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr); | 55 | free_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr); |
56 | printk("Could not get irq %d.\n", COLLIE_IRQ_GPIO_CO); | 56 | printk("Could not get irq %d.\n", COLLIE_IRQ_GPIO_CO); |
diff --git a/arch/arm/mach-sa1100/dma.c b/arch/arm/mach-sa1100/dma.c index be0e4427bec7..3c6441d4bc59 100644 --- a/arch/arm/mach-sa1100/dma.c +++ b/arch/arm/mach-sa1100/dma.c | |||
@@ -124,7 +124,7 @@ int sa1100_request_dma (dma_device_t device, const char *device_id, | |||
124 | 124 | ||
125 | i = dma - dma_chan; | 125 | i = dma - dma_chan; |
126 | regs = (dma_regs_t *)&DDAR(i); | 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 | device_id, regs); | 128 | device_id, regs); |
129 | if (err) { | 129 | if (err) { |
130 | printk(KERN_ERR | 130 | printk(KERN_ERR |
diff --git a/arch/arm/mach-sa1100/h3600.c b/arch/arm/mach-sa1100/h3600.c index e10d661c015f..7364478cec12 100644 --- a/arch/arm/mach-sa1100/h3600.c +++ b/arch/arm/mach-sa1100/h3600.c | |||
@@ -740,7 +740,7 @@ static void h3800_IRQ_demux(unsigned int irq, struct irqdesc *desc, struct pt_re | |||
740 | static struct irqaction h3800_irq = { | 740 | static struct irqaction h3800_irq = { |
741 | .name = "h3800_asic", | 741 | .name = "h3800_asic", |
742 | .handler = h3800_IRQ_demux, | 742 | .handler = h3800_IRQ_demux, |
743 | .flags = SA_INTERRUPT | SA_TIMER, | 743 | .flags = IRQF_DISABLED | IRQF_TIMER, |
744 | }; | 744 | }; |
745 | 745 | ||
746 | u32 kpio_int_shadow = 0; | 746 | u32 kpio_int_shadow = 0; |
diff --git a/arch/arm/mach-sa1100/time.c b/arch/arm/mach-sa1100/time.c index 688b1e109a40..49ae716e16c2 100644 --- a/arch/arm/mach-sa1100/time.c +++ b/arch/arm/mach-sa1100/time.c | |||
@@ -111,7 +111,7 @@ sa1100_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | |||
111 | 111 | ||
112 | static struct irqaction sa1100_timer_irq = { | 112 | static struct irqaction sa1100_timer_irq = { |
113 | .name = "SA11xx Timer Tick", | 113 | .name = "SA11xx Timer Tick", |
114 | .flags = SA_INTERRUPT | SA_TIMER, | 114 | .flags = IRQF_DISABLED | IRQF_TIMER, |
115 | .handler = sa1100_timer_interrupt, | 115 | .handler = sa1100_timer_interrupt, |
116 | }; | 116 | }; |
117 | 117 | ||