diff options
author | Michael Opdenacker <michael.opdenacker@free-electrons.com> | 2013-09-07 01:43:08 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-09-26 03:54:16 -0400 |
commit | 77a42796786c2ea2d3a67262fb5f1f707c3e0594 (patch) | |
tree | a93f7eac94f0d118ebda42509093b872f7b0efd0 | |
parent | 21e884bafa039fab0facd327c9380b58151e73f2 (diff) |
m68k: Remove deprecated IRQF_DISABLED
This patch proposes to remove the IRQF_DISABLED flag from m68k architecture
code. It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r-- | arch/m68k/include/asm/floppy.h | 2 | ||||
-rw-r--r-- | arch/m68k/include/asm/sun3xflop.h | 2 | ||||
-rw-r--r-- | arch/m68k/platform/68000/timers.c | 2 | ||||
-rw-r--r-- | arch/m68k/platform/68360/config.c | 2 | ||||
-rw-r--r-- | arch/m68k/platform/coldfire/pit.c | 2 | ||||
-rw-r--r-- | arch/m68k/platform/coldfire/sltimers.c | 4 | ||||
-rw-r--r-- | arch/m68k/platform/coldfire/timers.c | 4 |
7 files changed, 9 insertions, 9 deletions
diff --git a/arch/m68k/include/asm/floppy.h b/arch/m68k/include/asm/floppy.h index 697d50393dd0..47365b1ccbec 100644 --- a/arch/m68k/include/asm/floppy.h +++ b/arch/m68k/include/asm/floppy.h | |||
@@ -85,7 +85,7 @@ static int fd_request_irq(void) | |||
85 | { | 85 | { |
86 | if(MACH_IS_Q40) | 86 | if(MACH_IS_Q40) |
87 | return request_irq(FLOPPY_IRQ, floppy_hardint, | 87 | return request_irq(FLOPPY_IRQ, floppy_hardint, |
88 | IRQF_DISABLED, "floppy", floppy_hardint); | 88 | 0, "floppy", floppy_hardint); |
89 | else if(MACH_IS_SUN3X) | 89 | else if(MACH_IS_SUN3X) |
90 | return sun3xflop_request_irq(); | 90 | return sun3xflop_request_irq(); |
91 | return -ENXIO; | 91 | return -ENXIO; |
diff --git a/arch/m68k/include/asm/sun3xflop.h b/arch/m68k/include/asm/sun3xflop.h index 95231e2f9d64..a02ea3a7bb20 100644 --- a/arch/m68k/include/asm/sun3xflop.h +++ b/arch/m68k/include/asm/sun3xflop.h | |||
@@ -207,7 +207,7 @@ static int sun3xflop_request_irq(void) | |||
207 | if(!once) { | 207 | if(!once) { |
208 | once = 1; | 208 | once = 1; |
209 | error = request_irq(FLOPPY_IRQ, sun3xflop_hardint, | 209 | error = request_irq(FLOPPY_IRQ, sun3xflop_hardint, |
210 | IRQF_DISABLED, "floppy", NULL); | 210 | 0, "floppy", NULL); |
211 | return ((error == 0) ? 0 : -1); | 211 | return ((error == 0) ? 0 : -1); |
212 | } else return 0; | 212 | } else return 0; |
213 | } | 213 | } |
diff --git a/arch/m68k/platform/68000/timers.c b/arch/m68k/platform/68000/timers.c index ec30acbfe6db..99a98698bc95 100644 --- a/arch/m68k/platform/68000/timers.c +++ b/arch/m68k/platform/68000/timers.c | |||
@@ -70,7 +70,7 @@ static irqreturn_t hw_tick(int irq, void *dummy) | |||
70 | 70 | ||
71 | static struct irqaction m68328_timer_irq = { | 71 | static struct irqaction m68328_timer_irq = { |
72 | .name = "timer", | 72 | .name = "timer", |
73 | .flags = IRQF_DISABLED | IRQF_TIMER, | 73 | .flags = IRQF_TIMER, |
74 | .handler = hw_tick, | 74 | .handler = hw_tick, |
75 | }; | 75 | }; |
76 | 76 | ||
diff --git a/arch/m68k/platform/68360/config.c b/arch/m68k/platform/68360/config.c index 9877cefad1e7..fae263eb332e 100644 --- a/arch/m68k/platform/68360/config.c +++ b/arch/m68k/platform/68360/config.c | |||
@@ -58,7 +58,7 @@ static irqreturn_t hw_tick(int irq, void *dummy) | |||
58 | 58 | ||
59 | static struct irqaction m68360_timer_irq = { | 59 | static struct irqaction m68360_timer_irq = { |
60 | .name = "timer", | 60 | .name = "timer", |
61 | .flags = IRQF_DISABLED | IRQF_TIMER, | 61 | .flags = IRQF_TIMER, |
62 | .handler = hw_tick, | 62 | .handler = hw_tick, |
63 | }; | 63 | }; |
64 | 64 | ||
diff --git a/arch/m68k/platform/coldfire/pit.c b/arch/m68k/platform/coldfire/pit.c index e8f3b97b0f77..493b3111d4c1 100644 --- a/arch/m68k/platform/coldfire/pit.c +++ b/arch/m68k/platform/coldfire/pit.c | |||
@@ -118,7 +118,7 @@ static irqreturn_t pit_tick(int irq, void *dummy) | |||
118 | 118 | ||
119 | static struct irqaction pit_irq = { | 119 | static struct irqaction pit_irq = { |
120 | .name = "timer", | 120 | .name = "timer", |
121 | .flags = IRQF_DISABLED | IRQF_TIMER, | 121 | .flags = IRQF_TIMER, |
122 | .handler = pit_tick, | 122 | .handler = pit_tick, |
123 | }; | 123 | }; |
124 | 124 | ||
diff --git a/arch/m68k/platform/coldfire/sltimers.c b/arch/m68k/platform/coldfire/sltimers.c index bb5a25ada848..831a08cf6f40 100644 --- a/arch/m68k/platform/coldfire/sltimers.c +++ b/arch/m68k/platform/coldfire/sltimers.c | |||
@@ -51,7 +51,7 @@ irqreturn_t mcfslt_profile_tick(int irq, void *dummy) | |||
51 | 51 | ||
52 | static struct irqaction mcfslt_profile_irq = { | 52 | static struct irqaction mcfslt_profile_irq = { |
53 | .name = "profile timer", | 53 | .name = "profile timer", |
54 | .flags = IRQF_DISABLED | IRQF_TIMER, | 54 | .flags = IRQF_TIMER, |
55 | .handler = mcfslt_profile_tick, | 55 | .handler = mcfslt_profile_tick, |
56 | }; | 56 | }; |
57 | 57 | ||
@@ -93,7 +93,7 @@ static irqreturn_t mcfslt_tick(int irq, void *dummy) | |||
93 | 93 | ||
94 | static struct irqaction mcfslt_timer_irq = { | 94 | static struct irqaction mcfslt_timer_irq = { |
95 | .name = "timer", | 95 | .name = "timer", |
96 | .flags = IRQF_DISABLED | IRQF_TIMER, | 96 | .flags = IRQF_TIMER, |
97 | .handler = mcfslt_tick, | 97 | .handler = mcfslt_tick, |
98 | }; | 98 | }; |
99 | 99 | ||
diff --git a/arch/m68k/platform/coldfire/timers.c b/arch/m68k/platform/coldfire/timers.c index d06068e45764..cd496a20fcc7 100644 --- a/arch/m68k/platform/coldfire/timers.c +++ b/arch/m68k/platform/coldfire/timers.c | |||
@@ -83,7 +83,7 @@ static irqreturn_t mcftmr_tick(int irq, void *dummy) | |||
83 | 83 | ||
84 | static struct irqaction mcftmr_timer_irq = { | 84 | static struct irqaction mcftmr_timer_irq = { |
85 | .name = "timer", | 85 | .name = "timer", |
86 | .flags = IRQF_DISABLED | IRQF_TIMER, | 86 | .flags = IRQF_TIMER, |
87 | .handler = mcftmr_tick, | 87 | .handler = mcftmr_tick, |
88 | }; | 88 | }; |
89 | 89 | ||
@@ -171,7 +171,7 @@ irqreturn_t coldfire_profile_tick(int irq, void *dummy) | |||
171 | 171 | ||
172 | static struct irqaction coldfire_profile_irq = { | 172 | static struct irqaction coldfire_profile_irq = { |
173 | .name = "profile timer", | 173 | .name = "profile timer", |
174 | .flags = IRQF_DISABLED | IRQF_TIMER, | 174 | .flags = IRQF_TIMER, |
175 | .handler = coldfire_profile_tick, | 175 | .handler = coldfire_profile_tick, |
176 | }; | 176 | }; |
177 | 177 | ||