Commit 1a8a51004a18b627ea81444201f7867875212f46
1 parent
9489424454
Exists in
master
and in
39 other branches
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>
Showing 43 changed files with 2 additions and 53 deletions Side-by-side Diff
- arch/cris/arch-v10/kernel/time.c
- arch/cris/arch-v32/kernel/smp.c
- arch/cris/arch-v32/kernel/time.c
- arch/frv/kernel/irq-mb93091.c
- arch/frv/kernel/irq-mb93093.c
- arch/frv/kernel/irq-mb93493.c
- arch/frv/kernel/time.c
- arch/h8300/kernel/timer/itu.c
- arch/h8300/kernel/timer/timer16.c
- arch/h8300/kernel/timer/timer8.c
- arch/h8300/kernel/timer/tpu.c
- arch/m32r/kernel/time.c
- arch/mips/cobalt/irq.c
- arch/mips/emma/markeins/irq.c
- arch/mips/jazz/irq.c
- arch/mips/kernel/cevt-bcm1480.c
- arch/mips/kernel/cevt-sb1250.c
- arch/mips/kernel/i8253.c
- arch/mips/kernel/i8259.c
- arch/mips/lasat/interrupt.c
- arch/mips/lemote/lm2e/irq.c
- arch/mips/sgi-ip32/ip32-irq.c
- arch/mips/sni/rm200.c
- arch/mips/vr41xx/common/irq.c
- arch/mn10300/kernel/time.c
- arch/powerpc/platforms/85xx/mpc85xx_cds.c
- arch/powerpc/platforms/8xx/m8xx_setup.c
- arch/powerpc/platforms/chrp/setup.c
- arch/powerpc/platforms/powermac/pic.c
- arch/powerpc/platforms/powermac/smp.c
- arch/powerpc/sysdev/cpm1.c
- arch/sh/kernel/time_64.c
- arch/sh/kernel/timers/timer-cmt.c
- arch/sh/kernel/timers/timer-mtu2.c
- arch/sh/kernel/timers/timer-tmu.c
- arch/sparc/kernel/irq_32.c
- arch/sparc/kernel/sun4d_irq.c
- arch/x86/kernel/irqinit_32.c
- arch/x86/kernel/irqinit_64.c
- arch/x86/kernel/mfgpt_32.c
- arch/x86/kernel/setup.c
- arch/x86/kernel/time_64.c
- arch/x86/kernel/vmiclock_32.c
arch/cris/arch-v10/kernel/time.c
arch/cris/arch-v32/kernel/smp.c
arch/cris/arch-v32/kernel/time.c
arch/frv/kernel/irq-mb93091.c
... | ... | @@ -109,28 +109,24 @@ |
109 | 109 | [0] = { |
110 | 110 | .handler = fpga_interrupt, |
111 | 111 | .flags = IRQF_DISABLED | IRQF_SHARED, |
112 | - .mask = CPU_MASK_NONE, | |
113 | 112 | .name = "fpga.0", |
114 | 113 | .dev_id = (void *) 0x0028UL, |
115 | 114 | }, |
116 | 115 | [1] = { |
117 | 116 | .handler = fpga_interrupt, |
118 | 117 | .flags = IRQF_DISABLED | IRQF_SHARED, |
119 | - .mask = CPU_MASK_NONE, | |
120 | 118 | .name = "fpga.1", |
121 | 119 | .dev_id = (void *) 0x0050UL, |
122 | 120 | }, |
123 | 121 | [2] = { |
124 | 122 | .handler = fpga_interrupt, |
125 | 123 | .flags = IRQF_DISABLED | IRQF_SHARED, |
126 | - .mask = CPU_MASK_NONE, | |
127 | 124 | .name = "fpga.2", |
128 | 125 | .dev_id = (void *) 0x1c00UL, |
129 | 126 | }, |
130 | 127 | [3] = { |
131 | 128 | .handler = fpga_interrupt, |
132 | 129 | .flags = IRQF_DISABLED | IRQF_SHARED, |
133 | - .mask = CPU_MASK_NONE, | |
134 | 130 | .name = "fpga.3", |
135 | 131 | .dev_id = (void *) 0x6386UL, |
136 | 132 | } |
arch/frv/kernel/irq-mb93093.c
arch/frv/kernel/irq-mb93493.c
... | ... | @@ -120,14 +120,12 @@ |
120 | 120 | [0] = { |
121 | 121 | .handler = mb93493_interrupt, |
122 | 122 | .flags = IRQF_DISABLED | IRQF_SHARED, |
123 | - .mask = CPU_MASK_NONE, | |
124 | 123 | .name = "mb93493.0", |
125 | 124 | .dev_id = (void *) __addr_MB93493_IQSR(0), |
126 | 125 | }, |
127 | 126 | [1] = { |
128 | 127 | .handler = mb93493_interrupt, |
129 | 128 | .flags = IRQF_DISABLED | IRQF_SHARED, |
130 | - .mask = CPU_MASK_NONE, | |
131 | 129 | .name = "mb93493.1", |
132 | 130 | .dev_id = (void *) __addr_MB93493_IQSR(1), |
133 | 131 | } |
arch/frv/kernel/time.c
arch/h8300/kernel/timer/itu.c
arch/h8300/kernel/timer/timer16.c
arch/h8300/kernel/timer/timer8.c
arch/h8300/kernel/timer/tpu.c
arch/m32r/kernel/time.c
arch/mips/cobalt/irq.c
arch/mips/emma/markeins/irq.c
arch/mips/jazz/irq.c
arch/mips/kernel/cevt-bcm1480.c
arch/mips/kernel/cevt-sb1250.c
arch/mips/kernel/i8253.c
... | ... | @@ -98,7 +98,6 @@ |
98 | 98 | static struct irqaction irq0 = { |
99 | 99 | .handler = timer_interrupt, |
100 | 100 | .flags = IRQF_DISABLED | IRQF_NOBALANCING, |
101 | - .mask = CPU_MASK_NONE, | |
102 | 101 | .name = "timer" |
103 | 102 | }; |
104 | 103 | |
... | ... | @@ -121,7 +120,6 @@ |
121 | 120 | cd->min_delta_ns = clockevent_delta2ns(0xF, cd); |
122 | 121 | clockevents_register_device(cd); |
123 | 122 | |
124 | - irq0.mask = cpumask_of_cpu(cpu); | |
125 | 123 | setup_irq(0, &irq0); |
126 | 124 | } |
127 | 125 |
arch/mips/kernel/i8259.c
arch/mips/lasat/interrupt.c
arch/mips/lemote/lm2e/irq.c
arch/mips/sgi-ip32/ip32-irq.c
... | ... | @@ -115,14 +115,12 @@ |
115 | 115 | struct irqaction memerr_irq = { |
116 | 116 | .handler = crime_memerr_intr, |
117 | 117 | .flags = IRQF_DISABLED, |
118 | - .mask = CPU_MASK_NONE, | |
119 | 118 | .name = "CRIME memory error", |
120 | 119 | }; |
121 | 120 | |
122 | 121 | struct irqaction cpuerr_irq = { |
123 | 122 | .handler = crime_cpuerr_intr, |
124 | 123 | .flags = IRQF_DISABLED, |
125 | - .mask = CPU_MASK_NONE, | |
126 | 124 | .name = "CRIME CPU error", |
127 | 125 | }; |
128 | 126 |
arch/mips/sni/rm200.c
... | ... | @@ -359,7 +359,8 @@ |
359 | 359 | * IRQ2 is cascade interrupt to second interrupt controller |
360 | 360 | */ |
361 | 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 | 366 | static struct resource sni_rm200_pic1_resource = { |
arch/mips/vr41xx/common/irq.c
arch/mn10300/kernel/time.c
arch/powerpc/platforms/85xx/mpc85xx_cds.c
arch/powerpc/platforms/8xx/m8xx_setup.c
arch/powerpc/platforms/chrp/setup.c
arch/powerpc/platforms/powermac/pic.c
... | ... | @@ -266,7 +266,6 @@ |
266 | 266 | static struct irqaction xmon_action = { |
267 | 267 | .handler = xmon_irq, |
268 | 268 | .flags = 0, |
269 | - .mask = CPU_MASK_NONE, | |
270 | 269 | .name = "NMI - XMON" |
271 | 270 | }; |
272 | 271 | #endif |
... | ... | @@ -274,7 +273,6 @@ |
274 | 273 | static struct irqaction gatwick_cascade_action = { |
275 | 274 | .handler = gatwick_action, |
276 | 275 | .flags = IRQF_DISABLED, |
277 | - .mask = CPU_MASK_NONE, | |
278 | 276 | .name = "cascade", |
279 | 277 | }; |
280 | 278 |
arch/powerpc/platforms/powermac/smp.c
arch/powerpc/sysdev/cpm1.c
arch/sh/kernel/time_64.c
arch/sh/kernel/timers/timer-cmt.c
arch/sh/kernel/timers/timer-mtu2.c
arch/sh/kernel/timers/timer-tmu.c
arch/sparc/kernel/irq_32.c
... | ... | @@ -439,7 +439,6 @@ |
439 | 439 | flush_cache_all(); |
440 | 440 | |
441 | 441 | action->flags = irqflags; |
442 | - cpus_clear(action->mask); | |
443 | 442 | action->name = devname; |
444 | 443 | action->dev_id = NULL; |
445 | 444 | action->next = NULL; |
... | ... | @@ -574,7 +573,6 @@ |
574 | 573 | |
575 | 574 | action->handler = handler; |
576 | 575 | action->flags = irqflags; |
577 | - cpus_clear(action->mask); | |
578 | 576 | action->name = devname; |
579 | 577 | action->next = NULL; |
580 | 578 | action->dev_id = dev_id; |
arch/sparc/kernel/sun4d_irq.c
arch/x86/kernel/irqinit_32.c
... | ... | @@ -50,7 +50,6 @@ |
50 | 50 | */ |
51 | 51 | static struct irqaction fpu_irq = { |
52 | 52 | .handler = math_error_irq, |
53 | - .mask = CPU_MASK_NONE, | |
54 | 53 | .name = "fpu", |
55 | 54 | }; |
56 | 55 | |
... | ... | @@ -83,7 +82,6 @@ |
83 | 82 | */ |
84 | 83 | static struct irqaction irq2 = { |
85 | 84 | .handler = no_action, |
86 | - .mask = CPU_MASK_NONE, | |
87 | 85 | .name = "cascade", |
88 | 86 | }; |
89 | 87 |
arch/x86/kernel/irqinit_64.c
arch/x86/kernel/mfgpt_32.c
arch/x86/kernel/setup.c
arch/x86/kernel/time_64.c
... | ... | @@ -116,7 +116,6 @@ |
116 | 116 | static struct irqaction irq0 = { |
117 | 117 | .handler = timer_interrupt, |
118 | 118 | .flags = IRQF_DISABLED | IRQF_IRQPOLL | IRQF_NOBALANCING | IRQF_TIMER, |
119 | - .mask = CPU_MASK_NONE, | |
120 | 119 | .name = "timer" |
121 | 120 | }; |
122 | 121 | |
... | ... | @@ -125,7 +124,6 @@ |
125 | 124 | if (!hpet_enable()) |
126 | 125 | setup_pit_timer(); |
127 | 126 | |
128 | - irq0.mask = cpumask_of_cpu(0); | |
129 | 127 | setup_irq(0, &irq0); |
130 | 128 | } |
131 | 129 |
arch/x86/kernel/vmiclock_32.c