diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-01 22:29:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-02 16:58:48 -0400 |
commit | 6d20819f8050092d40e9c99c55d82c8e26d42599 (patch) | |
tree | 01ef4df564bda53f282617c019a1503d391f0093 /arch/sh/cchips | |
parent | 5fb55ae955cee254f9e3b45636266a4855bb88a5 (diff) |
[PATCH] irq-flags: SH: Use the new IRQF_ constants
Use the new IRQF_ constants and remove the SA_INTERRUPT define
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sh/cchips')
-rw-r--r-- | arch/sh/cchips/hd6446x/hd64461/setup.c | 2 | ||||
-rw-r--r-- | arch/sh/cchips/hd6446x/hd64465/gpio.c | 2 | ||||
-rw-r--r-- | arch/sh/cchips/hd6446x/hd64465/setup.c | 2 | ||||
-rw-r--r-- | arch/sh/cchips/voyagergx/irq.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/cchips/hd6446x/hd64461/setup.c b/arch/sh/cchips/hd6446x/hd64461/setup.c index 9b361a91a1a6..ad126016720f 100644 --- a/arch/sh/cchips/hd6446x/hd64461/setup.c +++ b/arch/sh/cchips/hd6446x/hd64461/setup.c | |||
@@ -133,7 +133,7 @@ int hd64461_irq_demux(int irq) | |||
133 | return __irq_demux(irq); | 133 | return __irq_demux(irq); |
134 | } | 134 | } |
135 | 135 | ||
136 | static struct irqaction irq0 = { hd64461_interrupt, SA_INTERRUPT, CPU_MASK_NONE, "HD64461", NULL, NULL }; | 136 | static struct irqaction irq0 = { hd64461_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "HD64461", NULL, NULL }; |
137 | 137 | ||
138 | int __init setup_hd64461(void) | 138 | int __init setup_hd64461(void) |
139 | { | 139 | { |
diff --git a/arch/sh/cchips/hd6446x/hd64465/gpio.c b/arch/sh/cchips/hd6446x/hd64465/gpio.c index 9785fdef868e..72320d02d69a 100644 --- a/arch/sh/cchips/hd6446x/hd64465/gpio.c +++ b/arch/sh/cchips/hd6446x/hd64465/gpio.c | |||
@@ -170,7 +170,7 @@ static int __init hd64465_gpio_init(void) | |||
170 | if (!request_region(HD64465_REG_GPACR, 0x1000, MODNAME)) | 170 | if (!request_region(HD64465_REG_GPACR, 0x1000, MODNAME)) |
171 | return -EBUSY; | 171 | return -EBUSY; |
172 | if (request_irq(HD64465_IRQ_GPIO, hd64465_gpio_interrupt, | 172 | if (request_irq(HD64465_IRQ_GPIO, hd64465_gpio_interrupt, |
173 | SA_INTERRUPT, MODNAME, 0)) | 173 | IRQF_DISABLED, MODNAME, 0)) |
174 | goto out_irqfailed; | 174 | goto out_irqfailed; |
175 | 175 | ||
176 | printk("HD64465 GPIO layer on irq %d\n", HD64465_IRQ_GPIO); | 176 | printk("HD64465 GPIO layer on irq %d\n", HD64465_IRQ_GPIO); |
diff --git a/arch/sh/cchips/hd6446x/hd64465/setup.c b/arch/sh/cchips/hd6446x/hd64465/setup.c index b2b0aa48a3a7..d2b2851bc44b 100644 --- a/arch/sh/cchips/hd6446x/hd64465/setup.c +++ b/arch/sh/cchips/hd6446x/hd64465/setup.c | |||
@@ -153,7 +153,7 @@ int hd64465_irq_demux(int irq) | |||
153 | return irq; | 153 | return irq; |
154 | } | 154 | } |
155 | 155 | ||
156 | static struct irqaction irq0 = { hd64465_interrupt, SA_INTERRUPT, CPU_MASK_NONE, "HD64465", NULL, NULL}; | 156 | static struct irqaction irq0 = { hd64465_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "HD64465", NULL, NULL}; |
157 | 157 | ||
158 | 158 | ||
159 | static int __init setup_hd64465(void) | 159 | static int __init setup_hd64465(void) |
diff --git a/arch/sh/cchips/voyagergx/irq.c b/arch/sh/cchips/voyagergx/irq.c index 6a74464dab2d..0dc1fb8f9687 100644 --- a/arch/sh/cchips/voyagergx/irq.c +++ b/arch/sh/cchips/voyagergx/irq.c | |||
@@ -165,7 +165,7 @@ int voyagergx_irq_demux(int irq) | |||
165 | static struct irqaction irq0 = { | 165 | static struct irqaction irq0 = { |
166 | .name = "voyagergx", | 166 | .name = "voyagergx", |
167 | .handler = voyagergx_interrupt, | 167 | .handler = voyagergx_interrupt, |
168 | .flags = SA_INTERRUPT, | 168 | .flags = IRQF_DISABLED, |
169 | .mask = CPU_MASK_NONE, | 169 | .mask = CPU_MASK_NONE, |
170 | }; | 170 | }; |
171 | 171 | ||