diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-31 00:05:13 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-30 07:35:14 -0400 |
commit | 1a8a51004a18b627ea81444201f7867875212f46 (patch) | |
tree | c9c99fcbfc6ea590aac34317e9a6676dfab1d051 | |
parent | 9489424454c93f4d225d7af47978f8c7e84bf4d4 (diff) |
cpumask: remove references to struct irqaction's mask field.
Impact: cleanup
It's unused, since about 1995. So remove all initialization of it in
preparation for actually removing the field.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
43 files changed, 2 insertions, 53 deletions
diff --git a/arch/cris/arch-v10/kernel/time.c b/arch/cris/arch-v10/kernel/time.c index c685ba4c3387..2b73c7a5b649 100644 --- a/arch/cris/arch-v10/kernel/time.c +++ b/arch/cris/arch-v10/kernel/time.c | |||
@@ -261,7 +261,6 @@ timer_interrupt(int irq, void *dev_id) | |||
261 | static struct irqaction irq2 = { | 261 | static struct irqaction irq2 = { |
262 | .handler = timer_interrupt, | 262 | .handler = timer_interrupt, |
263 | .flags = IRQF_SHARED | IRQF_DISABLED, | 263 | .flags = IRQF_SHARED | IRQF_DISABLED, |
264 | .mask = CPU_MASK_NONE, | ||
265 | .name = "timer", | 264 | .name = "timer", |
266 | }; | 265 | }; |
267 | 266 | ||
diff --git a/arch/cris/arch-v32/kernel/smp.c b/arch/cris/arch-v32/kernel/smp.c index 9dac17334640..f59a973c97ee 100644 --- a/arch/cris/arch-v32/kernel/smp.c +++ b/arch/cris/arch-v32/kernel/smp.c | |||
@@ -65,7 +65,6 @@ static int send_ipi(int vector, int wait, cpumask_t cpu_mask); | |||
65 | static struct irqaction irq_ipi = { | 65 | static struct irqaction irq_ipi = { |
66 | .handler = crisv32_ipi_interrupt, | 66 | .handler = crisv32_ipi_interrupt, |
67 | .flags = IRQF_DISABLED, | 67 | .flags = IRQF_DISABLED, |
68 | .mask = CPU_MASK_NONE, | ||
69 | .name = "ipi", | 68 | .name = "ipi", |
70 | }; | 69 | }; |
71 | 70 | ||
diff --git a/arch/cris/arch-v32/kernel/time.c b/arch/cris/arch-v32/kernel/time.c index 3a13dd6e0a9a..65633d0dab86 100644 --- a/arch/cris/arch-v32/kernel/time.c +++ b/arch/cris/arch-v32/kernel/time.c | |||
@@ -267,7 +267,6 @@ timer_interrupt(int irq, void *dev_id) | |||
267 | static struct irqaction irq_timer = { | 267 | static struct irqaction irq_timer = { |
268 | .handler = timer_interrupt, | 268 | .handler = timer_interrupt, |
269 | .flags = IRQF_SHARED | IRQF_DISABLED, | 269 | .flags = IRQF_SHARED | IRQF_DISABLED, |
270 | .mask = CPU_MASK_NONE, | ||
271 | .name = "timer" | 270 | .name = "timer" |
272 | }; | 271 | }; |
273 | 272 | ||
diff --git a/arch/frv/kernel/irq-mb93091.c b/arch/frv/kernel/irq-mb93091.c index 9e38f99bbab8..4dd9adaf115a 100644 --- a/arch/frv/kernel/irq-mb93091.c +++ b/arch/frv/kernel/irq-mb93091.c | |||
@@ -109,28 +109,24 @@ static struct irqaction fpga_irq[4] = { | |||
109 | [0] = { | 109 | [0] = { |
110 | .handler = fpga_interrupt, | 110 | .handler = fpga_interrupt, |
111 | .flags = IRQF_DISABLED | IRQF_SHARED, | 111 | .flags = IRQF_DISABLED | IRQF_SHARED, |
112 | .mask = CPU_MASK_NONE, | ||
113 | .name = "fpga.0", | 112 | .name = "fpga.0", |
114 | .dev_id = (void *) 0x0028UL, | 113 | .dev_id = (void *) 0x0028UL, |
115 | }, | 114 | }, |
116 | [1] = { | 115 | [1] = { |
117 | .handler = fpga_interrupt, | 116 | .handler = fpga_interrupt, |
118 | .flags = IRQF_DISABLED | IRQF_SHARED, | 117 | .flags = IRQF_DISABLED | IRQF_SHARED, |
119 | .mask = CPU_MASK_NONE, | ||
120 | .name = "fpga.1", | 118 | .name = "fpga.1", |
121 | .dev_id = (void *) 0x0050UL, | 119 | .dev_id = (void *) 0x0050UL, |
122 | }, | 120 | }, |
123 | [2] = { | 121 | [2] = { |
124 | .handler = fpga_interrupt, | 122 | .handler = fpga_interrupt, |
125 | .flags = IRQF_DISABLED | IRQF_SHARED, | 123 | .flags = IRQF_DISABLED | IRQF_SHARED, |
126 | .mask = CPU_MASK_NONE, | ||
127 | .name = "fpga.2", | 124 | .name = "fpga.2", |
128 | .dev_id = (void *) 0x1c00UL, | 125 | .dev_id = (void *) 0x1c00UL, |
129 | }, | 126 | }, |
130 | [3] = { | 127 | [3] = { |
131 | .handler = fpga_interrupt, | 128 | .handler = fpga_interrupt, |
132 | .flags = IRQF_DISABLED | IRQF_SHARED, | 129 | .flags = IRQF_DISABLED | IRQF_SHARED, |
133 | .mask = CPU_MASK_NONE, | ||
134 | .name = "fpga.3", | 130 | .name = "fpga.3", |
135 | .dev_id = (void *) 0x6386UL, | 131 | .dev_id = (void *) 0x6386UL, |
136 | } | 132 | } |
diff --git a/arch/frv/kernel/irq-mb93093.c b/arch/frv/kernel/irq-mb93093.c index 3c2752ca9775..e45209031873 100644 --- a/arch/frv/kernel/irq-mb93093.c +++ b/arch/frv/kernel/irq-mb93093.c | |||
@@ -108,7 +108,6 @@ static struct irqaction fpga_irq[1] = { | |||
108 | [0] = { | 108 | [0] = { |
109 | .handler = fpga_interrupt, | 109 | .handler = fpga_interrupt, |
110 | .flags = IRQF_DISABLED, | 110 | .flags = IRQF_DISABLED, |
111 | .mask = CPU_MASK_NONE, | ||
112 | .name = "fpga.0", | 111 | .name = "fpga.0", |
113 | .dev_id = (void *) 0x0700UL, | 112 | .dev_id = (void *) 0x0700UL, |
114 | } | 113 | } |
diff --git a/arch/frv/kernel/irq-mb93493.c b/arch/frv/kernel/irq-mb93493.c index 7754c7338e4b..ba55ecdfb245 100644 --- a/arch/frv/kernel/irq-mb93493.c +++ b/arch/frv/kernel/irq-mb93493.c | |||
@@ -120,14 +120,12 @@ static struct irqaction mb93493_irq[2] = { | |||
120 | [0] = { | 120 | [0] = { |
121 | .handler = mb93493_interrupt, | 121 | .handler = mb93493_interrupt, |
122 | .flags = IRQF_DISABLED | IRQF_SHARED, | 122 | .flags = IRQF_DISABLED | IRQF_SHARED, |
123 | .mask = CPU_MASK_NONE, | ||
124 | .name = "mb93493.0", | 123 | .name = "mb93493.0", |
125 | .dev_id = (void *) __addr_MB93493_IQSR(0), | 124 | .dev_id = (void *) __addr_MB93493_IQSR(0), |
126 | }, | 125 | }, |
127 | [1] = { | 126 | [1] = { |
128 | .handler = mb93493_interrupt, | 127 | .handler = mb93493_interrupt, |
129 | .flags = IRQF_DISABLED | IRQF_SHARED, | 128 | .flags = IRQF_DISABLED | IRQF_SHARED, |
130 | .mask = CPU_MASK_NONE, | ||
131 | .name = "mb93493.1", | 129 | .name = "mb93493.1", |
132 | .dev_id = (void *) __addr_MB93493_IQSR(1), | 130 | .dev_id = (void *) __addr_MB93493_IQSR(1), |
133 | } | 131 | } |
diff --git a/arch/frv/kernel/time.c b/arch/frv/kernel/time.c index 69f6a4ef5d61..fb0ce7577225 100644 --- a/arch/frv/kernel/time.c +++ b/arch/frv/kernel/time.c | |||
@@ -45,7 +45,6 @@ static irqreturn_t timer_interrupt(int irq, void *dummy); | |||
45 | static struct irqaction timer_irq = { | 45 | static struct irqaction timer_irq = { |
46 | .handler = timer_interrupt, | 46 | .handler = timer_interrupt, |
47 | .flags = IRQF_DISABLED, | 47 | .flags = IRQF_DISABLED, |
48 | .mask = CPU_MASK_NONE, | ||
49 | .name = "timer", | 48 | .name = "timer", |
50 | }; | 49 | }; |
51 | 50 | ||
diff --git a/arch/h8300/kernel/timer/itu.c b/arch/h8300/kernel/timer/itu.c index d1c926596b08..4883ba7103a8 100644 --- a/arch/h8300/kernel/timer/itu.c +++ b/arch/h8300/kernel/timer/itu.c | |||
@@ -60,7 +60,6 @@ static struct irqaction itu_irq = { | |||
60 | .name = "itu", | 60 | .name = "itu", |
61 | .handler = timer_interrupt, | 61 | .handler = timer_interrupt, |
62 | .flags = IRQF_DISABLED | IRQF_TIMER, | 62 | .flags = IRQF_DISABLED | IRQF_TIMER, |
63 | .mask = CPU_MASK_NONE, | ||
64 | }; | 63 | }; |
65 | 64 | ||
66 | static const int __initdata divide_rate[] = {1, 2, 4, 8}; | 65 | static const int __initdata divide_rate[] = {1, 2, 4, 8}; |
diff --git a/arch/h8300/kernel/timer/timer16.c b/arch/h8300/kernel/timer/timer16.c index e14271b72119..042dbb53f3fb 100644 --- a/arch/h8300/kernel/timer/timer16.c +++ b/arch/h8300/kernel/timer/timer16.c | |||
@@ -55,7 +55,6 @@ static struct irqaction timer16_irq = { | |||
55 | .name = "timer-16", | 55 | .name = "timer-16", |
56 | .handler = timer_interrupt, | 56 | .handler = timer_interrupt, |
57 | .flags = IRQF_DISABLED | IRQF_TIMER, | 57 | .flags = IRQF_DISABLED | IRQF_TIMER, |
58 | .mask = CPU_MASK_NONE, | ||
59 | }; | 58 | }; |
60 | 59 | ||
61 | static const int __initdata divide_rate[] = {1, 2, 4, 8}; | 60 | static const int __initdata divide_rate[] = {1, 2, 4, 8}; |
diff --git a/arch/h8300/kernel/timer/timer8.c b/arch/h8300/kernel/timer/timer8.c index 0556d7c7bea6..38be0cabef0d 100644 --- a/arch/h8300/kernel/timer/timer8.c +++ b/arch/h8300/kernel/timer/timer8.c | |||
@@ -75,7 +75,6 @@ static struct irqaction timer8_irq = { | |||
75 | .name = "timer-8", | 75 | .name = "timer-8", |
76 | .handler = timer_interrupt, | 76 | .handler = timer_interrupt, |
77 | .flags = IRQF_DISABLED | IRQF_TIMER, | 77 | .flags = IRQF_DISABLED | IRQF_TIMER, |
78 | .mask = CPU_MASK_NONE, | ||
79 | }; | 78 | }; |
80 | 79 | ||
81 | static const int __initdata divide_rate[] = {8, 64, 8192}; | 80 | static const int __initdata divide_rate[] = {8, 64, 8192}; |
diff --git a/arch/h8300/kernel/timer/tpu.c b/arch/h8300/kernel/timer/tpu.c index df7f453a9673..ad383caae196 100644 --- a/arch/h8300/kernel/timer/tpu.c +++ b/arch/h8300/kernel/timer/tpu.c | |||
@@ -65,7 +65,6 @@ static struct irqaction tpu_irq = { | |||
65 | .name = "tpu", | 65 | .name = "tpu", |
66 | .handler = timer_interrupt, | 66 | .handler = timer_interrupt, |
67 | .flags = IRQF_DISABLED | IRQF_TIMER, | 67 | .flags = IRQF_DISABLED | IRQF_TIMER, |
68 | .mask = CPU_MASK_NONE, | ||
69 | }; | 68 | }; |
70 | 69 | ||
71 | const static int __initdata divide_rate[] = { | 70 | const static int __initdata divide_rate[] = { |
diff --git a/arch/m32r/kernel/time.c b/arch/m32r/kernel/time.c index 6ea017727cce..cada3ba4b990 100644 --- a/arch/m32r/kernel/time.c +++ b/arch/m32r/kernel/time.c | |||
@@ -230,7 +230,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id) | |||
230 | static struct irqaction irq0 = { | 230 | static struct irqaction irq0 = { |
231 | .handler = timer_interrupt, | 231 | .handler = timer_interrupt, |
232 | .flags = IRQF_DISABLED, | 232 | .flags = IRQF_DISABLED, |
233 | .mask = CPU_MASK_NONE, | ||
234 | .name = "MFT2", | 233 | .name = "MFT2", |
235 | }; | 234 | }; |
236 | 235 | ||
diff --git a/arch/mips/cobalt/irq.c b/arch/mips/cobalt/irq.c index ac4fb912649d..cb9bf820fe53 100644 --- a/arch/mips/cobalt/irq.c +++ b/arch/mips/cobalt/irq.c | |||
@@ -47,7 +47,6 @@ asmlinkage void plat_irq_dispatch(void) | |||
47 | 47 | ||
48 | static struct irqaction cascade = { | 48 | static struct irqaction cascade = { |
49 | .handler = no_action, | 49 | .handler = no_action, |
50 | .mask = CPU_MASK_NONE, | ||
51 | .name = "cascade", | 50 | .name = "cascade", |
52 | }; | 51 | }; |
53 | 52 | ||
diff --git a/arch/mips/emma/markeins/irq.c b/arch/mips/emma/markeins/irq.c index c2583ecc93cf..ff4e529fa698 100644 --- a/arch/mips/emma/markeins/irq.c +++ b/arch/mips/emma/markeins/irq.c | |||
@@ -194,7 +194,6 @@ void emma2rh_gpio_irq_init(void) | |||
194 | static struct irqaction irq_cascade = { | 194 | static struct irqaction irq_cascade = { |
195 | .handler = no_action, | 195 | .handler = no_action, |
196 | .flags = 0, | 196 | .flags = 0, |
197 | .mask = CPU_MASK_NONE, | ||
198 | .name = "cascade", | 197 | .name = "cascade", |
199 | .dev_id = NULL, | 198 | .dev_id = NULL, |
200 | .next = NULL, | 199 | .next = NULL, |
diff --git a/arch/mips/jazz/irq.c b/arch/mips/jazz/irq.c index 03965cb1b252..d9b6a5b5399d 100644 --- a/arch/mips/jazz/irq.c +++ b/arch/mips/jazz/irq.c | |||
@@ -134,7 +134,6 @@ static irqreturn_t r4030_timer_interrupt(int irq, void *dev_id) | |||
134 | static struct irqaction r4030_timer_irqaction = { | 134 | static struct irqaction r4030_timer_irqaction = { |
135 | .handler = r4030_timer_interrupt, | 135 | .handler = r4030_timer_interrupt, |
136 | .flags = IRQF_DISABLED, | 136 | .flags = IRQF_DISABLED, |
137 | .mask = CPU_MASK_CPU0, | ||
138 | .name = "R4030 timer", | 137 | .name = "R4030 timer", |
139 | }; | 138 | }; |
140 | 139 | ||
diff --git a/arch/mips/kernel/cevt-bcm1480.c b/arch/mips/kernel/cevt-bcm1480.c index b820661678b0..a5182a207696 100644 --- a/arch/mips/kernel/cevt-bcm1480.c +++ b/arch/mips/kernel/cevt-bcm1480.c | |||
@@ -144,7 +144,6 @@ void __cpuinit sb1480_clockevent_init(void) | |||
144 | 144 | ||
145 | action->handler = sibyte_counter_handler; | 145 | action->handler = sibyte_counter_handler; |
146 | action->flags = IRQF_DISABLED | IRQF_PERCPU; | 146 | action->flags = IRQF_DISABLED | IRQF_PERCPU; |
147 | action->mask = cpumask_of_cpu(cpu); | ||
148 | action->name = name; | 147 | action->name = name; |
149 | action->dev_id = cd; | 148 | action->dev_id = cd; |
150 | 149 | ||
diff --git a/arch/mips/kernel/cevt-sb1250.c b/arch/mips/kernel/cevt-sb1250.c index a2eebaafda52..340f53e5c6b1 100644 --- a/arch/mips/kernel/cevt-sb1250.c +++ b/arch/mips/kernel/cevt-sb1250.c | |||
@@ -143,7 +143,6 @@ void __cpuinit sb1250_clockevent_init(void) | |||
143 | 143 | ||
144 | action->handler = sibyte_counter_handler; | 144 | action->handler = sibyte_counter_handler; |
145 | action->flags = IRQF_DISABLED | IRQF_PERCPU; | 145 | action->flags = IRQF_DISABLED | IRQF_PERCPU; |
146 | action->mask = cpumask_of_cpu(cpu); | ||
147 | action->name = name; | 146 | action->name = name; |
148 | action->dev_id = cd; | 147 | action->dev_id = cd; |
149 | 148 | ||
diff --git a/arch/mips/kernel/i8253.c b/arch/mips/kernel/i8253.c index f4d187825f96..689719e34f08 100644 --- a/arch/mips/kernel/i8253.c +++ b/arch/mips/kernel/i8253.c | |||
@@ -98,7 +98,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id) | |||
98 | static struct irqaction irq0 = { | 98 | static struct irqaction irq0 = { |
99 | .handler = timer_interrupt, | 99 | .handler = timer_interrupt, |
100 | .flags = IRQF_DISABLED | IRQF_NOBALANCING, | 100 | .flags = IRQF_DISABLED | IRQF_NOBALANCING, |
101 | .mask = CPU_MASK_NONE, | ||
102 | .name = "timer" | 101 | .name = "timer" |
103 | }; | 102 | }; |
104 | 103 | ||
@@ -121,7 +120,6 @@ void __init setup_pit_timer(void) | |||
121 | cd->min_delta_ns = clockevent_delta2ns(0xF, cd); | 120 | cd->min_delta_ns = clockevent_delta2ns(0xF, cd); |
122 | clockevents_register_device(cd); | 121 | clockevents_register_device(cd); |
123 | 122 | ||
124 | irq0.mask = cpumask_of_cpu(cpu); | ||
125 | setup_irq(0, &irq0); | 123 | setup_irq(0, &irq0); |
126 | } | 124 | } |
127 | 125 | ||
diff --git a/arch/mips/kernel/i8259.c b/arch/mips/kernel/i8259.c index 413bd1d37f54..01c0885a8061 100644 --- a/arch/mips/kernel/i8259.c +++ b/arch/mips/kernel/i8259.c | |||
@@ -306,7 +306,6 @@ static void init_8259A(int auto_eoi) | |||
306 | */ | 306 | */ |
307 | static struct irqaction irq2 = { | 307 | static struct irqaction irq2 = { |
308 | .handler = no_action, | 308 | .handler = no_action, |
309 | .mask = CPU_MASK_NONE, | ||
310 | .name = "cascade", | 309 | .name = "cascade", |
311 | }; | 310 | }; |
312 | 311 | ||
diff --git a/arch/mips/lasat/interrupt.c b/arch/mips/lasat/interrupt.c index d1ac7a25c856..1353fb135ed3 100644 --- a/arch/mips/lasat/interrupt.c +++ b/arch/mips/lasat/interrupt.c | |||
@@ -104,7 +104,6 @@ asmlinkage void plat_irq_dispatch(void) | |||
104 | 104 | ||
105 | static struct irqaction cascade = { | 105 | static struct irqaction cascade = { |
106 | .handler = no_action, | 106 | .handler = no_action, |
107 | .mask = CPU_MASK_NONE, | ||
108 | .name = "cascade", | 107 | .name = "cascade", |
109 | }; | 108 | }; |
110 | 109 | ||
diff --git a/arch/mips/lemote/lm2e/irq.c b/arch/mips/lemote/lm2e/irq.c index 3e0b7beb1009..1d0a09f3b832 100644 --- a/arch/mips/lemote/lm2e/irq.c +++ b/arch/mips/lemote/lm2e/irq.c | |||
@@ -92,7 +92,6 @@ asmlinkage void plat_irq_dispatch(void) | |||
92 | 92 | ||
93 | static struct irqaction cascade_irqaction = { | 93 | static struct irqaction cascade_irqaction = { |
94 | .handler = no_action, | 94 | .handler = no_action, |
95 | .mask = CPU_MASK_NONE, | ||
96 | .name = "cascade", | 95 | .name = "cascade", |
97 | }; | 96 | }; |
98 | 97 | ||
diff --git a/arch/mips/sgi-ip32/ip32-irq.c b/arch/mips/sgi-ip32/ip32-irq.c index 0d6b6663d5f6..9cb28cd20ad8 100644 --- a/arch/mips/sgi-ip32/ip32-irq.c +++ b/arch/mips/sgi-ip32/ip32-irq.c | |||
@@ -115,14 +115,12 @@ extern irqreturn_t crime_cpuerr_intr(int irq, void *dev_id); | |||
115 | struct irqaction memerr_irq = { | 115 | struct irqaction memerr_irq = { |
116 | .handler = crime_memerr_intr, | 116 | .handler = crime_memerr_intr, |
117 | .flags = IRQF_DISABLED, | 117 | .flags = IRQF_DISABLED, |
118 | .mask = CPU_MASK_NONE, | ||
119 | .name = "CRIME memory error", | 118 | .name = "CRIME memory error", |
120 | }; | 119 | }; |
121 | 120 | ||
122 | struct irqaction cpuerr_irq = { | 121 | struct irqaction cpuerr_irq = { |
123 | .handler = crime_cpuerr_intr, | 122 | .handler = crime_cpuerr_intr, |
124 | .flags = IRQF_DISABLED, | 123 | .flags = IRQF_DISABLED, |
125 | .mask = CPU_MASK_NONE, | ||
126 | .name = "CRIME CPU error", | 124 | .name = "CRIME CPU error", |
127 | }; | 125 | }; |
128 | 126 | ||
diff --git a/arch/mips/sni/rm200.c b/arch/mips/sni/rm200.c index 5310aa75afa4..a695a08c93f6 100644 --- a/arch/mips/sni/rm200.c +++ b/arch/mips/sni/rm200.c | |||
@@ -359,7 +359,8 @@ void sni_rm200_init_8259A(void) | |||
359 | * IRQ2 is cascade interrupt to second interrupt controller | 359 | * IRQ2 is cascade interrupt to second interrupt controller |
360 | */ | 360 | */ |
361 | static struct irqaction sni_rm200_irq2 = { | 361 | static struct irqaction sni_rm200_irq2 = { |
362 | no_action, 0, CPU_MASK_NONE, "cascade", NULL, NULL | 362 | .handler = no_action, |
363 | .name = "cascade", | ||
363 | }; | 364 | }; |
364 | 365 | ||
365 | static struct resource sni_rm200_pic1_resource = { | 366 | static struct resource sni_rm200_pic1_resource = { |
diff --git a/arch/mips/vr41xx/common/irq.c b/arch/mips/vr41xx/common/irq.c index 92dd1a0ca352..9cc389109b19 100644 --- a/arch/mips/vr41xx/common/irq.c +++ b/arch/mips/vr41xx/common/irq.c | |||
@@ -32,7 +32,6 @@ static irq_cascade_t irq_cascade[NR_IRQS] __cacheline_aligned; | |||
32 | 32 | ||
33 | static struct irqaction cascade_irqaction = { | 33 | static struct irqaction cascade_irqaction = { |
34 | .handler = no_action, | 34 | .handler = no_action, |
35 | .mask = CPU_MASK_NONE, | ||
36 | .name = "cascade", | 35 | .name = "cascade", |
37 | }; | 36 | }; |
38 | 37 | ||
diff --git a/arch/mn10300/kernel/time.c b/arch/mn10300/kernel/time.c index e4606586f94c..395caf01b909 100644 --- a/arch/mn10300/kernel/time.c +++ b/arch/mn10300/kernel/time.c | |||
@@ -37,7 +37,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id); | |||
37 | static struct irqaction timer_irq = { | 37 | static struct irqaction timer_irq = { |
38 | .handler = timer_interrupt, | 38 | .handler = timer_interrupt, |
39 | .flags = IRQF_DISABLED | IRQF_SHARED | IRQF_TIMER, | 39 | .flags = IRQF_DISABLED | IRQF_SHARED | IRQF_TIMER, |
40 | .mask = CPU_MASK_NONE, | ||
41 | .name = "timer", | 40 | .name = "timer", |
42 | }; | 41 | }; |
43 | 42 | ||
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_cds.c b/arch/powerpc/platforms/85xx/mpc85xx_cds.c index aeb6a5bc5522..02fe215122f6 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c | |||
@@ -179,7 +179,6 @@ static irqreturn_t mpc85xx_8259_cascade_action(int irq, void *dev_id) | |||
179 | static struct irqaction mpc85xxcds_8259_irqaction = { | 179 | static struct irqaction mpc85xxcds_8259_irqaction = { |
180 | .handler = mpc85xx_8259_cascade_action, | 180 | .handler = mpc85xx_8259_cascade_action, |
181 | .flags = IRQF_SHARED, | 181 | .flags = IRQF_SHARED, |
182 | .mask = CPU_MASK_NONE, | ||
183 | .name = "8259 cascade", | 182 | .name = "8259 cascade", |
184 | }; | 183 | }; |
185 | #endif /* PPC_I8259 */ | 184 | #endif /* PPC_I8259 */ |
diff --git a/arch/powerpc/platforms/8xx/m8xx_setup.c b/arch/powerpc/platforms/8xx/m8xx_setup.c index 0d9f75c74f8c..385acfc48397 100644 --- a/arch/powerpc/platforms/8xx/m8xx_setup.c +++ b/arch/powerpc/platforms/8xx/m8xx_setup.c | |||
@@ -44,7 +44,6 @@ static irqreturn_t timebase_interrupt(int irq, void *dev) | |||
44 | 44 | ||
45 | static struct irqaction tbint_irqaction = { | 45 | static struct irqaction tbint_irqaction = { |
46 | .handler = timebase_interrupt, | 46 | .handler = timebase_interrupt, |
47 | .mask = CPU_MASK_NONE, | ||
48 | .name = "tbint", | 47 | .name = "tbint", |
49 | }; | 48 | }; |
50 | 49 | ||
diff --git a/arch/powerpc/platforms/chrp/setup.c b/arch/powerpc/platforms/chrp/setup.c index 272d79a8d289..cd4ad9aea760 100644 --- a/arch/powerpc/platforms/chrp/setup.c +++ b/arch/powerpc/platforms/chrp/setup.c | |||
@@ -472,7 +472,6 @@ static void __init chrp_find_openpic(void) | |||
472 | #if defined(CONFIG_VT) && defined(CONFIG_INPUT_ADBHID) && defined(CONFIG_XMON) | 472 | #if defined(CONFIG_VT) && defined(CONFIG_INPUT_ADBHID) && defined(CONFIG_XMON) |
473 | static struct irqaction xmon_irqaction = { | 473 | static struct irqaction xmon_irqaction = { |
474 | .handler = xmon_irq, | 474 | .handler = xmon_irq, |
475 | .mask = CPU_MASK_NONE, | ||
476 | .name = "XMON break", | 475 | .name = "XMON break", |
477 | }; | 476 | }; |
478 | #endif | 477 | #endif |
diff --git a/arch/powerpc/platforms/powermac/pic.c b/arch/powerpc/platforms/powermac/pic.c index 6d149ae8ffa7..7039d8f1d3ba 100644 --- a/arch/powerpc/platforms/powermac/pic.c +++ b/arch/powerpc/platforms/powermac/pic.c | |||
@@ -266,7 +266,6 @@ static unsigned int pmac_pic_get_irq(void) | |||
266 | static struct irqaction xmon_action = { | 266 | static struct irqaction xmon_action = { |
267 | .handler = xmon_irq, | 267 | .handler = xmon_irq, |
268 | .flags = 0, | 268 | .flags = 0, |
269 | .mask = CPU_MASK_NONE, | ||
270 | .name = "NMI - XMON" | 269 | .name = "NMI - XMON" |
271 | }; | 270 | }; |
272 | #endif | 271 | #endif |
@@ -274,7 +273,6 @@ static struct irqaction xmon_action = { | |||
274 | static struct irqaction gatwick_cascade_action = { | 273 | static struct irqaction gatwick_cascade_action = { |
275 | .handler = gatwick_action, | 274 | .handler = gatwick_action, |
276 | .flags = IRQF_DISABLED, | 275 | .flags = IRQF_DISABLED, |
277 | .mask = CPU_MASK_NONE, | ||
278 | .name = "cascade", | 276 | .name = "cascade", |
279 | }; | 277 | }; |
280 | 278 | ||
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c index bd8817b00fa4..cf1dbe758890 100644 --- a/arch/powerpc/platforms/powermac/smp.c +++ b/arch/powerpc/platforms/powermac/smp.c | |||
@@ -385,7 +385,6 @@ static void __init psurge_dual_sync_tb(int cpu_nr) | |||
385 | static struct irqaction psurge_irqaction = { | 385 | static struct irqaction psurge_irqaction = { |
386 | .handler = psurge_primary_intr, | 386 | .handler = psurge_primary_intr, |
387 | .flags = IRQF_DISABLED, | 387 | .flags = IRQF_DISABLED, |
388 | .mask = CPU_MASK_NONE, | ||
389 | .name = "primary IPI", | 388 | .name = "primary IPI", |
390 | }; | 389 | }; |
391 | 390 | ||
diff --git a/arch/powerpc/sysdev/cpm1.c b/arch/powerpc/sysdev/cpm1.c index 490473ce8103..82424cd7e128 100644 --- a/arch/powerpc/sysdev/cpm1.c +++ b/arch/powerpc/sysdev/cpm1.c | |||
@@ -119,7 +119,6 @@ static irqreturn_t cpm_error_interrupt(int irq, void *dev) | |||
119 | 119 | ||
120 | static struct irqaction cpm_error_irqaction = { | 120 | static struct irqaction cpm_error_irqaction = { |
121 | .handler = cpm_error_interrupt, | 121 | .handler = cpm_error_interrupt, |
122 | .mask = CPU_MASK_NONE, | ||
123 | .name = "error", | 122 | .name = "error", |
124 | }; | 123 | }; |
125 | 124 | ||
diff --git a/arch/sh/kernel/time_64.c b/arch/sh/kernel/time_64.c index 59d2a03e8b3c..988c77c37231 100644 --- a/arch/sh/kernel/time_64.c +++ b/arch/sh/kernel/time_64.c | |||
@@ -284,7 +284,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id) | |||
284 | static struct irqaction irq0 = { | 284 | static struct irqaction irq0 = { |
285 | .handler = timer_interrupt, | 285 | .handler = timer_interrupt, |
286 | .flags = IRQF_DISABLED, | 286 | .flags = IRQF_DISABLED, |
287 | .mask = CPU_MASK_NONE, | ||
288 | .name = "timer", | 287 | .name = "timer", |
289 | }; | 288 | }; |
290 | 289 | ||
diff --git a/arch/sh/kernel/timers/timer-cmt.c b/arch/sh/kernel/timers/timer-cmt.c index c127293271e1..9aa348658ae3 100644 --- a/arch/sh/kernel/timers/timer-cmt.c +++ b/arch/sh/kernel/timers/timer-cmt.c | |||
@@ -109,7 +109,6 @@ static struct irqaction cmt_irq = { | |||
109 | .name = "timer", | 109 | .name = "timer", |
110 | .handler = cmt_timer_interrupt, | 110 | .handler = cmt_timer_interrupt, |
111 | .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, | 111 | .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, |
112 | .mask = CPU_MASK_NONE, | ||
113 | }; | 112 | }; |
114 | 113 | ||
115 | static void cmt_clk_init(struct clk *clk) | 114 | static void cmt_clk_init(struct clk *clk) |
diff --git a/arch/sh/kernel/timers/timer-mtu2.c b/arch/sh/kernel/timers/timer-mtu2.c index 9a77ae86b403..9b0ef0126479 100644 --- a/arch/sh/kernel/timers/timer-mtu2.c +++ b/arch/sh/kernel/timers/timer-mtu2.c | |||
@@ -115,7 +115,6 @@ static struct irqaction mtu2_irq = { | |||
115 | .name = "timer", | 115 | .name = "timer", |
116 | .handler = mtu2_timer_interrupt, | 116 | .handler = mtu2_timer_interrupt, |
117 | .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, | 117 | .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, |
118 | .mask = CPU_MASK_NONE, | ||
119 | }; | 118 | }; |
120 | 119 | ||
121 | static unsigned int divisors[] = { 1, 4, 16, 64, 1, 1, 256 }; | 120 | static unsigned int divisors[] = { 1, 4, 16, 64, 1, 1, 256 }; |
diff --git a/arch/sh/kernel/timers/timer-tmu.c b/arch/sh/kernel/timers/timer-tmu.c index 10b5a6f17cc0..c5d3396f5960 100644 --- a/arch/sh/kernel/timers/timer-tmu.c +++ b/arch/sh/kernel/timers/timer-tmu.c | |||
@@ -162,7 +162,6 @@ static struct irqaction tmu0_irq = { | |||
162 | .name = "periodic/oneshot timer", | 162 | .name = "periodic/oneshot timer", |
163 | .handler = tmu_timer_interrupt, | 163 | .handler = tmu_timer_interrupt, |
164 | .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, | 164 | .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, |
165 | .mask = CPU_MASK_NONE, | ||
166 | }; | 165 | }; |
167 | 166 | ||
168 | static void __init tmu_clk_init(struct clk *clk) | 167 | static void __init tmu_clk_init(struct clk *clk) |
diff --git a/arch/sparc/kernel/irq_32.c b/arch/sparc/kernel/irq_32.c index 44dd5ee64339..ad800b80c718 100644 --- a/arch/sparc/kernel/irq_32.c +++ b/arch/sparc/kernel/irq_32.c | |||
@@ -439,7 +439,6 @@ static int request_fast_irq(unsigned int irq, | |||
439 | flush_cache_all(); | 439 | flush_cache_all(); |
440 | 440 | ||
441 | action->flags = irqflags; | 441 | action->flags = irqflags; |
442 | cpus_clear(action->mask); | ||
443 | action->name = devname; | 442 | action->name = devname; |
444 | action->dev_id = NULL; | 443 | action->dev_id = NULL; |
445 | action->next = NULL; | 444 | action->next = NULL; |
@@ -574,7 +573,6 @@ int request_irq(unsigned int irq, | |||
574 | 573 | ||
575 | action->handler = handler; | 574 | action->handler = handler; |
576 | action->flags = irqflags; | 575 | action->flags = irqflags; |
577 | cpus_clear(action->mask); | ||
578 | action->name = devname; | 576 | action->name = devname; |
579 | action->next = NULL; | 577 | action->next = NULL; |
580 | action->dev_id = dev_id; | 578 | action->dev_id = dev_id; |
diff --git a/arch/sparc/kernel/sun4d_irq.c b/arch/sparc/kernel/sun4d_irq.c index 3369fef5b4b3..ab036a72de5a 100644 --- a/arch/sparc/kernel/sun4d_irq.c +++ b/arch/sparc/kernel/sun4d_irq.c | |||
@@ -326,7 +326,6 @@ int sun4d_request_irq(unsigned int irq, | |||
326 | 326 | ||
327 | action->handler = handler; | 327 | action->handler = handler; |
328 | action->flags = irqflags; | 328 | action->flags = irqflags; |
329 | cpus_clear(action->mask); | ||
330 | action->name = devname; | 329 | action->name = devname; |
331 | action->next = NULL; | 330 | action->next = NULL; |
332 | action->dev_id = dev_id; | 331 | action->dev_id = dev_id; |
diff --git a/arch/x86/kernel/irqinit_32.c b/arch/x86/kernel/irqinit_32.c index 50b8c3a3006c..458c554c5422 100644 --- a/arch/x86/kernel/irqinit_32.c +++ b/arch/x86/kernel/irqinit_32.c | |||
@@ -50,7 +50,6 @@ static irqreturn_t math_error_irq(int cpl, void *dev_id) | |||
50 | */ | 50 | */ |
51 | static struct irqaction fpu_irq = { | 51 | static struct irqaction fpu_irq = { |
52 | .handler = math_error_irq, | 52 | .handler = math_error_irq, |
53 | .mask = CPU_MASK_NONE, | ||
54 | .name = "fpu", | 53 | .name = "fpu", |
55 | }; | 54 | }; |
56 | 55 | ||
@@ -83,7 +82,6 @@ void __init init_ISA_irqs(void) | |||
83 | */ | 82 | */ |
84 | static struct irqaction irq2 = { | 83 | static struct irqaction irq2 = { |
85 | .handler = no_action, | 84 | .handler = no_action, |
86 | .mask = CPU_MASK_NONE, | ||
87 | .name = "cascade", | 85 | .name = "cascade", |
88 | }; | 86 | }; |
89 | 87 | ||
diff --git a/arch/x86/kernel/irqinit_64.c b/arch/x86/kernel/irqinit_64.c index da481a1e3f30..76abe43aa73f 100644 --- a/arch/x86/kernel/irqinit_64.c +++ b/arch/x86/kernel/irqinit_64.c | |||
@@ -45,7 +45,6 @@ | |||
45 | 45 | ||
46 | static struct irqaction irq2 = { | 46 | static struct irqaction irq2 = { |
47 | .handler = no_action, | 47 | .handler = no_action, |
48 | .mask = CPU_MASK_NONE, | ||
49 | .name = "cascade", | 48 | .name = "cascade", |
50 | }; | 49 | }; |
51 | DEFINE_PER_CPU(vector_irq_t, vector_irq) = { | 50 | DEFINE_PER_CPU(vector_irq_t, vector_irq) = { |
diff --git a/arch/x86/kernel/mfgpt_32.c b/arch/x86/kernel/mfgpt_32.c index 8815f3c7fec7..846510b78a09 100644 --- a/arch/x86/kernel/mfgpt_32.c +++ b/arch/x86/kernel/mfgpt_32.c | |||
@@ -348,7 +348,6 @@ static irqreturn_t mfgpt_tick(int irq, void *dev_id) | |||
348 | static struct irqaction mfgptirq = { | 348 | static struct irqaction mfgptirq = { |
349 | .handler = mfgpt_tick, | 349 | .handler = mfgpt_tick, |
350 | .flags = IRQF_DISABLED | IRQF_NOBALANCING, | 350 | .flags = IRQF_DISABLED | IRQF_NOBALANCING, |
351 | .mask = CPU_MASK_NONE, | ||
352 | .name = "mfgpt-timer" | 351 | .name = "mfgpt-timer" |
353 | }; | 352 | }; |
354 | 353 | ||
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index b746deb9ebc6..900dad7fe38d 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -1027,7 +1027,6 @@ void __init x86_quirk_trap_init(void) | |||
1027 | static struct irqaction irq0 = { | 1027 | static struct irqaction irq0 = { |
1028 | .handler = timer_interrupt, | 1028 | .handler = timer_interrupt, |
1029 | .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_IRQPOLL | IRQF_TIMER, | 1029 | .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_IRQPOLL | IRQF_TIMER, |
1030 | .mask = CPU_MASK_NONE, | ||
1031 | .name = "timer" | 1030 | .name = "timer" |
1032 | }; | 1031 | }; |
1033 | 1032 | ||
diff --git a/arch/x86/kernel/time_64.c b/arch/x86/kernel/time_64.c index 241ec3923f61..5ba343e61844 100644 --- a/arch/x86/kernel/time_64.c +++ b/arch/x86/kernel/time_64.c | |||
@@ -116,7 +116,6 @@ unsigned long __init calibrate_cpu(void) | |||
116 | static struct irqaction irq0 = { | 116 | static struct irqaction irq0 = { |
117 | .handler = timer_interrupt, | 117 | .handler = timer_interrupt, |
118 | .flags = IRQF_DISABLED | IRQF_IRQPOLL | IRQF_NOBALANCING | IRQF_TIMER, | 118 | .flags = IRQF_DISABLED | IRQF_IRQPOLL | IRQF_NOBALANCING | IRQF_TIMER, |
119 | .mask = CPU_MASK_NONE, | ||
120 | .name = "timer" | 119 | .name = "timer" |
121 | }; | 120 | }; |
122 | 121 | ||
@@ -125,7 +124,6 @@ void __init hpet_time_init(void) | |||
125 | if (!hpet_enable()) | 124 | if (!hpet_enable()) |
126 | setup_pit_timer(); | 125 | setup_pit_timer(); |
127 | 126 | ||
128 | irq0.mask = cpumask_of_cpu(0); | ||
129 | setup_irq(0, &irq0); | 127 | setup_irq(0, &irq0); |
130 | } | 128 | } |
131 | 129 | ||
diff --git a/arch/x86/kernel/vmiclock_32.c b/arch/x86/kernel/vmiclock_32.c index 33a788d5879c..d303369a7bad 100644 --- a/arch/x86/kernel/vmiclock_32.c +++ b/arch/x86/kernel/vmiclock_32.c | |||
@@ -202,7 +202,6 @@ static struct irqaction vmi_clock_action = { | |||
202 | .name = "vmi-timer", | 202 | .name = "vmi-timer", |
203 | .handler = vmi_timer_interrupt, | 203 | .handler = vmi_timer_interrupt, |
204 | .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_TIMER, | 204 | .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_TIMER, |
205 | .mask = CPU_MASK_ALL, | ||
206 | }; | 205 | }; |
207 | 206 | ||
208 | static void __devinit vmi_time_init_clockevent(void) | 207 | static void __devinit vmi_time_init_clockevent(void) |