Commit 1a8a5100 authored by Rusty Russell's avatar Rusty Russell

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: default avatarRusty Russell <rusty@rustcorp.com.au>
Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 94894244
...@@ -261,7 +261,6 @@ timer_interrupt(int irq, void *dev_id) ...@@ -261,7 +261,6 @@ timer_interrupt(int irq, void *dev_id)
static struct irqaction irq2 = { static struct irqaction irq2 = {
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_SHARED | IRQF_DISABLED, .flags = IRQF_SHARED | IRQF_DISABLED,
.mask = CPU_MASK_NONE,
.name = "timer", .name = "timer",
}; };
......
...@@ -65,7 +65,6 @@ static int send_ipi(int vector, int wait, cpumask_t cpu_mask); ...@@ -65,7 +65,6 @@ static int send_ipi(int vector, int wait, cpumask_t cpu_mask);
static struct irqaction irq_ipi = { static struct irqaction irq_ipi = {
.handler = crisv32_ipi_interrupt, .handler = crisv32_ipi_interrupt,
.flags = IRQF_DISABLED, .flags = IRQF_DISABLED,
.mask = CPU_MASK_NONE,
.name = "ipi", .name = "ipi",
}; };
......
...@@ -267,7 +267,6 @@ timer_interrupt(int irq, void *dev_id) ...@@ -267,7 +267,6 @@ timer_interrupt(int irq, void *dev_id)
static struct irqaction irq_timer = { static struct irqaction irq_timer = {
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_SHARED | IRQF_DISABLED, .flags = IRQF_SHARED | IRQF_DISABLED,
.mask = CPU_MASK_NONE,
.name = "timer" .name = "timer"
}; };
......
...@@ -109,28 +109,24 @@ static struct irqaction fpga_irq[4] = { ...@@ -109,28 +109,24 @@ static struct irqaction fpga_irq[4] = {
[0] = { [0] = {
.handler = fpga_interrupt, .handler = fpga_interrupt,
.flags = IRQF_DISABLED | IRQF_SHARED, .flags = IRQF_DISABLED | IRQF_SHARED,
.mask = CPU_MASK_NONE,
.name = "fpga.0", .name = "fpga.0",
.dev_id = (void *) 0x0028UL, .dev_id = (void *) 0x0028UL,
}, },
[1] = { [1] = {
.handler = fpga_interrupt, .handler = fpga_interrupt,
.flags = IRQF_DISABLED | IRQF_SHARED, .flags = IRQF_DISABLED | IRQF_SHARED,
.mask = CPU_MASK_NONE,
.name = "fpga.1", .name = "fpga.1",
.dev_id = (void *) 0x0050UL, .dev_id = (void *) 0x0050UL,
}, },
[2] = { [2] = {
.handler = fpga_interrupt, .handler = fpga_interrupt,
.flags = IRQF_DISABLED | IRQF_SHARED, .flags = IRQF_DISABLED | IRQF_SHARED,
.mask = CPU_MASK_NONE,
.name = "fpga.2", .name = "fpga.2",
.dev_id = (void *) 0x1c00UL, .dev_id = (void *) 0x1c00UL,
}, },
[3] = { [3] = {
.handler = fpga_interrupt, .handler = fpga_interrupt,
.flags = IRQF_DISABLED | IRQF_SHARED, .flags = IRQF_DISABLED | IRQF_SHARED,
.mask = CPU_MASK_NONE,
.name = "fpga.3", .name = "fpga.3",
.dev_id = (void *) 0x6386UL, .dev_id = (void *) 0x6386UL,
} }
......
...@@ -108,7 +108,6 @@ static struct irqaction fpga_irq[1] = { ...@@ -108,7 +108,6 @@ static struct irqaction fpga_irq[1] = {
[0] = { [0] = {
.handler = fpga_interrupt, .handler = fpga_interrupt,
.flags = IRQF_DISABLED, .flags = IRQF_DISABLED,
.mask = CPU_MASK_NONE,
.name = "fpga.0", .name = "fpga.0",
.dev_id = (void *) 0x0700UL, .dev_id = (void *) 0x0700UL,
} }
......
...@@ -120,14 +120,12 @@ static struct irqaction mb93493_irq[2] = { ...@@ -120,14 +120,12 @@ static struct irqaction mb93493_irq[2] = {
[0] = { [0] = {
.handler = mb93493_interrupt, .handler = mb93493_interrupt,
.flags = IRQF_DISABLED | IRQF_SHARED, .flags = IRQF_DISABLED | IRQF_SHARED,
.mask = CPU_MASK_NONE,
.name = "mb93493.0", .name = "mb93493.0",
.dev_id = (void *) __addr_MB93493_IQSR(0), .dev_id = (void *) __addr_MB93493_IQSR(0),
}, },
[1] = { [1] = {
.handler = mb93493_interrupt, .handler = mb93493_interrupt,
.flags = IRQF_DISABLED | IRQF_SHARED, .flags = IRQF_DISABLED | IRQF_SHARED,
.mask = CPU_MASK_NONE,
.name = "mb93493.1", .name = "mb93493.1",
.dev_id = (void *) __addr_MB93493_IQSR(1), .dev_id = (void *) __addr_MB93493_IQSR(1),
} }
......
...@@ -45,7 +45,6 @@ static irqreturn_t timer_interrupt(int irq, void *dummy); ...@@ -45,7 +45,6 @@ static irqreturn_t timer_interrupt(int irq, void *dummy);
static struct irqaction timer_irq = { static struct irqaction timer_irq = {
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_DISABLED, .flags = IRQF_DISABLED,
.mask = CPU_MASK_NONE,
.name = "timer", .name = "timer",
}; };
......
...@@ -60,7 +60,6 @@ static struct irqaction itu_irq = { ...@@ -60,7 +60,6 @@ static struct irqaction itu_irq = {
.name = "itu", .name = "itu",
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER,
.mask = CPU_MASK_NONE,
}; };
static const int __initdata divide_rate[] = {1, 2, 4, 8}; static const int __initdata divide_rate[] = {1, 2, 4, 8};
......
...@@ -55,7 +55,6 @@ static struct irqaction timer16_irq = { ...@@ -55,7 +55,6 @@ static struct irqaction timer16_irq = {
.name = "timer-16", .name = "timer-16",
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER,
.mask = CPU_MASK_NONE,
}; };
static const int __initdata divide_rate[] = {1, 2, 4, 8}; static const int __initdata divide_rate[] = {1, 2, 4, 8};
......
...@@ -75,7 +75,6 @@ static struct irqaction timer8_irq = { ...@@ -75,7 +75,6 @@ static struct irqaction timer8_irq = {
.name = "timer-8", .name = "timer-8",
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER,
.mask = CPU_MASK_NONE,
}; };
static const int __initdata divide_rate[] = {8, 64, 8192}; static const int __initdata divide_rate[] = {8, 64, 8192};
......
...@@ -65,7 +65,6 @@ static struct irqaction tpu_irq = { ...@@ -65,7 +65,6 @@ static struct irqaction tpu_irq = {
.name = "tpu", .name = "tpu",
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER,
.mask = CPU_MASK_NONE,
}; };
const static int __initdata divide_rate[] = { const static int __initdata divide_rate[] = {
......
...@@ -230,7 +230,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id) ...@@ -230,7 +230,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
static struct irqaction irq0 = { static struct irqaction irq0 = {
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_DISABLED, .flags = IRQF_DISABLED,
.mask = CPU_MASK_NONE,
.name = "MFT2", .name = "MFT2",
}; };
......
...@@ -47,7 +47,6 @@ asmlinkage void plat_irq_dispatch(void) ...@@ -47,7 +47,6 @@ asmlinkage void plat_irq_dispatch(void)
static struct irqaction cascade = { static struct irqaction cascade = {
.handler = no_action, .handler = no_action,
.mask = CPU_MASK_NONE,
.name = "cascade", .name = "cascade",
}; };
......
...@@ -194,7 +194,6 @@ void emma2rh_gpio_irq_init(void) ...@@ -194,7 +194,6 @@ void emma2rh_gpio_irq_init(void)
static struct irqaction irq_cascade = { static struct irqaction irq_cascade = {
.handler = no_action, .handler = no_action,
.flags = 0, .flags = 0,
.mask = CPU_MASK_NONE,
.name = "cascade", .name = "cascade",
.dev_id = NULL, .dev_id = NULL,
.next = NULL, .next = NULL,
......
...@@ -134,7 +134,6 @@ static irqreturn_t r4030_timer_interrupt(int irq, void *dev_id) ...@@ -134,7 +134,6 @@ static irqreturn_t r4030_timer_interrupt(int irq, void *dev_id)
static struct irqaction r4030_timer_irqaction = { static struct irqaction r4030_timer_irqaction = {
.handler = r4030_timer_interrupt, .handler = r4030_timer_interrupt,
.flags = IRQF_DISABLED, .flags = IRQF_DISABLED,
.mask = CPU_MASK_CPU0,
.name = "R4030 timer", .name = "R4030 timer",
}; };
......
...@@ -144,7 +144,6 @@ void __cpuinit sb1480_clockevent_init(void) ...@@ -144,7 +144,6 @@ void __cpuinit sb1480_clockevent_init(void)
action->handler = sibyte_counter_handler; action->handler = sibyte_counter_handler;
action->flags = IRQF_DISABLED | IRQF_PERCPU; action->flags = IRQF_DISABLED | IRQF_PERCPU;
action->mask = cpumask_of_cpu(cpu);
action->name = name; action->name = name;
action->dev_id = cd; action->dev_id = cd;
......
...@@ -143,7 +143,6 @@ void __cpuinit sb1250_clockevent_init(void) ...@@ -143,7 +143,6 @@ void __cpuinit sb1250_clockevent_init(void)
action->handler = sibyte_counter_handler; action->handler = sibyte_counter_handler;
action->flags = IRQF_DISABLED | IRQF_PERCPU; action->flags = IRQF_DISABLED | IRQF_PERCPU;
action->mask = cpumask_of_cpu(cpu);
action->name = name; action->name = name;
action->dev_id = cd; action->dev_id = cd;
......
...@@ -98,7 +98,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id) ...@@ -98,7 +98,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
static struct irqaction irq0 = { static struct irqaction irq0 = {
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_DISABLED | IRQF_NOBALANCING, .flags = IRQF_DISABLED | IRQF_NOBALANCING,
.mask = CPU_MASK_NONE,
.name = "timer" .name = "timer"
}; };
...@@ -121,7 +120,6 @@ void __init setup_pit_timer(void) ...@@ -121,7 +120,6 @@ void __init setup_pit_timer(void)
cd->min_delta_ns = clockevent_delta2ns(0xF, cd); cd->min_delta_ns = clockevent_delta2ns(0xF, cd);
clockevents_register_device(cd); clockevents_register_device(cd);
irq0.mask = cpumask_of_cpu(cpu);
setup_irq(0, &irq0); setup_irq(0, &irq0);
} }
......
...@@ -306,7 +306,6 @@ static void init_8259A(int auto_eoi) ...@@ -306,7 +306,6 @@ static void init_8259A(int auto_eoi)
*/ */
static struct irqaction irq2 = { static struct irqaction irq2 = {
.handler = no_action, .handler = no_action,
.mask = CPU_MASK_NONE,
.name = "cascade", .name = "cascade",
}; };
......
...@@ -104,7 +104,6 @@ asmlinkage void plat_irq_dispatch(void) ...@@ -104,7 +104,6 @@ asmlinkage void plat_irq_dispatch(void)
static struct irqaction cascade = { static struct irqaction cascade = {
.handler = no_action, .handler = no_action,
.mask = CPU_MASK_NONE,
.name = "cascade", .name = "cascade",
}; };
......
...@@ -92,7 +92,6 @@ asmlinkage void plat_irq_dispatch(void) ...@@ -92,7 +92,6 @@ asmlinkage void plat_irq_dispatch(void)
static struct irqaction cascade_irqaction = { static struct irqaction cascade_irqaction = {
.handler = no_action, .handler = no_action,
.mask = CPU_MASK_NONE,
.name = "cascade", .name = "cascade",
}; };
......
...@@ -115,14 +115,12 @@ extern irqreturn_t crime_cpuerr_intr(int irq, void *dev_id); ...@@ -115,14 +115,12 @@ extern irqreturn_t crime_cpuerr_intr(int irq, void *dev_id);
struct irqaction memerr_irq = { struct irqaction memerr_irq = {
.handler = crime_memerr_intr, .handler = crime_memerr_intr,
.flags = IRQF_DISABLED, .flags = IRQF_DISABLED,
.mask = CPU_MASK_NONE,
.name = "CRIME memory error", .name = "CRIME memory error",
}; };
struct irqaction cpuerr_irq = { struct irqaction cpuerr_irq = {
.handler = crime_cpuerr_intr, .handler = crime_cpuerr_intr,
.flags = IRQF_DISABLED, .flags = IRQF_DISABLED,
.mask = CPU_MASK_NONE,
.name = "CRIME CPU error", .name = "CRIME CPU error",
}; };
......
...@@ -359,7 +359,8 @@ void sni_rm200_init_8259A(void) ...@@ -359,7 +359,8 @@ void sni_rm200_init_8259A(void)
* IRQ2 is cascade interrupt to second interrupt controller * IRQ2 is cascade interrupt to second interrupt controller
*/ */
static struct irqaction sni_rm200_irq2 = { static struct irqaction sni_rm200_irq2 = {
no_action, 0, CPU_MASK_NONE, "cascade", NULL, NULL .handler = no_action,
.name = "cascade",
}; };
static struct resource sni_rm200_pic1_resource = { static struct resource sni_rm200_pic1_resource = {
......
...@@ -32,7 +32,6 @@ static irq_cascade_t irq_cascade[NR_IRQS] __cacheline_aligned; ...@@ -32,7 +32,6 @@ static irq_cascade_t irq_cascade[NR_IRQS] __cacheline_aligned;
static struct irqaction cascade_irqaction = { static struct irqaction cascade_irqaction = {
.handler = no_action, .handler = no_action,
.mask = CPU_MASK_NONE,
.name = "cascade", .name = "cascade",
}; };
......
...@@ -37,7 +37,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id); ...@@ -37,7 +37,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id);
static struct irqaction timer_irq = { static struct irqaction timer_irq = {
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_DISABLED | IRQF_SHARED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_SHARED | IRQF_TIMER,
.mask = CPU_MASK_NONE,
.name = "timer", .name = "timer",
}; };
......
...@@ -179,7 +179,6 @@ static irqreturn_t mpc85xx_8259_cascade_action(int irq, void *dev_id) ...@@ -179,7 +179,6 @@ static irqreturn_t mpc85xx_8259_cascade_action(int irq, void *dev_id)
static struct irqaction mpc85xxcds_8259_irqaction = { static struct irqaction mpc85xxcds_8259_irqaction = {
.handler = mpc85xx_8259_cascade_action, .handler = mpc85xx_8259_cascade_action,
.flags = IRQF_SHARED, .flags = IRQF_SHARED,
.mask = CPU_MASK_NONE,
.name = "8259 cascade", .name = "8259 cascade",
}; };
#endif /* PPC_I8259 */ #endif /* PPC_I8259 */
......
...@@ -44,7 +44,6 @@ static irqreturn_t timebase_interrupt(int irq, void *dev) ...@@ -44,7 +44,6 @@ static irqreturn_t timebase_interrupt(int irq, void *dev)
static struct irqaction tbint_irqaction = { static struct irqaction tbint_irqaction = {
.handler = timebase_interrupt, .handler = timebase_interrupt,
.mask = CPU_MASK_NONE,
.name = "tbint", .name = "tbint",
}; };
......
...@@ -472,7 +472,6 @@ static void __init chrp_find_openpic(void) ...@@ -472,7 +472,6 @@ static void __init chrp_find_openpic(void)
#if defined(CONFIG_VT) && defined(CONFIG_INPUT_ADBHID) && defined(CONFIG_XMON) #if defined(CONFIG_VT) && defined(CONFIG_INPUT_ADBHID) && defined(CONFIG_XMON)
static struct irqaction xmon_irqaction = { static struct irqaction xmon_irqaction = {
.handler = xmon_irq, .handler = xmon_irq,
.mask = CPU_MASK_NONE,
.name = "XMON break", .name = "XMON break",
}; };
#endif #endif
......
...@@ -266,7 +266,6 @@ static unsigned int pmac_pic_get_irq(void) ...@@ -266,7 +266,6 @@ static unsigned int pmac_pic_get_irq(void)
static struct irqaction xmon_action = { static struct irqaction xmon_action = {
.handler = xmon_irq, .handler = xmon_irq,
.flags = 0, .flags = 0,
.mask = CPU_MASK_NONE,
.name = "NMI - XMON" .name = "NMI - XMON"
}; };
#endif #endif
...@@ -274,7 +273,6 @@ static struct irqaction xmon_action = { ...@@ -274,7 +273,6 @@ static struct irqaction xmon_action = {
static struct irqaction gatwick_cascade_action = { static struct irqaction gatwick_cascade_action = {
.handler = gatwick_action, .handler = gatwick_action,
.flags = IRQF_DISABLED, .flags = IRQF_DISABLED,
.mask = CPU_MASK_NONE,
.name = "cascade", .name = "cascade",
}; };
......
...@@ -385,7 +385,6 @@ static void __init psurge_dual_sync_tb(int cpu_nr) ...@@ -385,7 +385,6 @@ static void __init psurge_dual_sync_tb(int cpu_nr)
static struct irqaction psurge_irqaction = { static struct irqaction psurge_irqaction = {
.handler = psurge_primary_intr, .handler = psurge_primary_intr,
.flags = IRQF_DISABLED, .flags = IRQF_DISABLED,
.mask = CPU_MASK_NONE,
.name = "primary IPI", .name = "primary IPI",
}; };
......
...@@ -119,7 +119,6 @@ static irqreturn_t cpm_error_interrupt(int irq, void *dev) ...@@ -119,7 +119,6 @@ static irqreturn_t cpm_error_interrupt(int irq, void *dev)
static struct irqaction cpm_error_irqaction = { static struct irqaction cpm_error_irqaction = {
.handler = cpm_error_interrupt, .handler = cpm_error_interrupt,
.mask = CPU_MASK_NONE,
.name = "error", .name = "error",
}; };
......
...@@ -284,7 +284,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id) ...@@ -284,7 +284,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
static struct irqaction irq0 = { static struct irqaction irq0 = {
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_DISABLED, .flags = IRQF_DISABLED,
.mask = CPU_MASK_NONE,
.name = "timer", .name = "timer",
}; };
......
...@@ -109,7 +109,6 @@ static struct irqaction cmt_irq = { ...@@ -109,7 +109,6 @@ static struct irqaction cmt_irq = {
.name = "timer", .name = "timer",
.handler = cmt_timer_interrupt, .handler = cmt_timer_interrupt,
.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.mask = CPU_MASK_NONE,
}; };
static void cmt_clk_init(struct clk *clk) static void cmt_clk_init(struct clk *clk)
......
...@@ -115,7 +115,6 @@ static struct irqaction mtu2_irq = { ...@@ -115,7 +115,6 @@ static struct irqaction mtu2_irq = {
.name = "timer", .name = "timer",
.handler = mtu2_timer_interrupt, .handler = mtu2_timer_interrupt,
.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.mask = CPU_MASK_NONE,
}; };
static unsigned int divisors[] = { 1, 4, 16, 64, 1, 1, 256 }; static unsigned int divisors[] = { 1, 4, 16, 64, 1, 1, 256 };
......
...@@ -162,7 +162,6 @@ static struct irqaction tmu0_irq = { ...@@ -162,7 +162,6 @@ static struct irqaction tmu0_irq = {
.name = "periodic/oneshot timer", .name = "periodic/oneshot timer",
.handler = tmu_timer_interrupt, .handler = tmu_timer_interrupt,
.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.mask = CPU_MASK_NONE,
}; };
static void __init tmu_clk_init(struct clk *clk) static void __init tmu_clk_init(struct clk *clk)
......
...@@ -439,7 +439,6 @@ static int request_fast_irq(unsigned int irq, ...@@ -439,7 +439,6 @@ static int request_fast_irq(unsigned int irq,
flush_cache_all(); flush_cache_all();
action->flags = irqflags; action->flags = irqflags;
cpus_clear(action->mask);
action->name = devname; action->name = devname;
action->dev_id = NULL; action->dev_id = NULL;
action->next = NULL; action->next = NULL;
...@@ -574,7 +573,6 @@ int request_irq(unsigned int irq, ...@@ -574,7 +573,6 @@ int request_irq(unsigned int irq,
action->handler = handler; action->handler = handler;
action->flags = irqflags; action->flags = irqflags;
cpus_clear(action->mask);
action->name = devname; action->name = devname;
action->next = NULL; action->next = NULL;
action->dev_id = dev_id; action->dev_id = dev_id;
......
...@@ -326,7 +326,6 @@ int sun4d_request_irq(unsigned int irq, ...@@ -326,7 +326,6 @@ int sun4d_request_irq(unsigned int irq,
action->handler = handler; action->handler = handler;
action->flags = irqflags; action->flags = irqflags;
cpus_clear(action->mask);
action->name = devname; action->name = devname;
action->next = NULL; action->next = NULL;
action->dev_id = dev_id; action->dev_id = dev_id;
......
...@@ -50,7 +50,6 @@ static irqreturn_t math_error_irq(int cpl, void *dev_id) ...@@ -50,7 +50,6 @@ static irqreturn_t math_error_irq(int cpl, void *dev_id)
*/ */
static struct irqaction fpu_irq = { static struct irqaction fpu_irq = {
.handler = math_error_irq, .handler = math_error_irq,
.mask = CPU_MASK_NONE,
.name = "fpu", .name = "fpu",
}; };
...@@ -83,7 +82,6 @@ void __init init_ISA_irqs(void) ...@@ -83,7 +82,6 @@ void __init init_ISA_irqs(void)
*/ */
static struct irqaction irq2 = { static struct irqaction irq2 = {
.handler = no_action, .handler = no_action,
.mask = CPU_MASK_NONE,
.name = "cascade", .name = "cascade",
}; };
......
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
static struct irqaction irq2 = { static struct irqaction irq2 = {
.handler = no_action, .handler = no_action,
.mask = CPU_MASK_NONE,
.name = "cascade", .name = "cascade",
}; };
DEFINE_PER_CPU(vector_irq_t, vector_irq) = { DEFINE_PER_CPU(vector_irq_t, vector_irq) = {
......
...@@ -348,7 +348,6 @@ static irqreturn_t mfgpt_tick(int irq, void *dev_id) ...@@ -348,7 +348,6 @@ static irqreturn_t mfgpt_tick(int irq, void *dev_id)
static struct irqaction mfgptirq = { static struct irqaction mfgptirq = {
.handler = mfgpt_tick, .handler = mfgpt_tick,
.flags = IRQF_DISABLED | IRQF_NOBALANCING, .flags = IRQF_DISABLED | IRQF_NOBALANCING,
.mask = CPU_MASK_NONE,
.name = "mfgpt-timer" .name = "mfgpt-timer"
}; };
......
...@@ -1027,7 +1027,6 @@ void __init x86_quirk_trap_init(void) ...@@ -1027,7 +1027,6 @@ void __init x86_quirk_trap_init(void)
static struct irqaction irq0 = { static struct irqaction irq0 = {
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_IRQPOLL | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_IRQPOLL | IRQF_TIMER,
.mask = CPU_MASK_NONE,
.name = "timer" .name = "timer"
}; };
......
...@@ -116,7 +116,6 @@ unsigned long __init calibrate_cpu(void) ...@@ -116,7 +116,6 @@ unsigned long __init calibrate_cpu(void)
static struct irqaction irq0 = { static struct irqaction irq0 = {
.handler = timer_interrupt, .handler = timer_interrupt,
.flags = IRQF_DISABLED | IRQF_IRQPOLL | IRQF_NOBALANCING | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_IRQPOLL | IRQF_NOBALANCING | IRQF_TIMER,
.mask = CPU_MASK_NONE,
.name = "timer" .name = "timer"
}; };
...@@ -125,7 +124,6 @@ void __init hpet_time_init(void) ...@@ -125,7 +124,6 @@ void __init hpet_time_init(void)
if (!hpet_enable()) if (!hpet_enable())
setup_pit_timer(); setup_pit_timer();
irq0.mask = cpumask_of_cpu(0);
setup_irq(0, &irq0); setup_irq(0, &irq0);
} }
......
...@@ -202,7 +202,6 @@ static struct irqaction vmi_clock_action = { ...@@ -202,7 +202,6 @@ static struct irqaction vmi_clock_action = {
.name = "vmi-timer", .name = "vmi-timer",
.handler = vmi_timer_interrupt, .handler = vmi_timer_interrupt,
.flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_TIMER,
.mask = CPU_MASK_ALL,
}; };
static void __devinit vmi_time_init_clockevent(void) static void __devinit vmi_time_init_clockevent(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment