diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/include/asm/gic.h | 12 | ||||
-rw-r--r-- | arch/mips/kernel/irq-gic.c | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/arch/mips/include/asm/gic.h b/arch/mips/include/asm/gic.h index 10f6a99f92c2..5b0e6a4b2c30 100644 --- a/arch/mips/include/asm/gic.h +++ b/arch/mips/include/asm/gic.h | |||
@@ -306,18 +306,6 @@ | |||
306 | GICWRITE(GIC_REG_ADDR(SHARED, GIC_SH_MAP_TO_VPE_REG_OFF(intr, vpe)), \ | 306 | GICWRITE(GIC_REG_ADDR(SHARED, GIC_SH_MAP_TO_VPE_REG_OFF(intr, vpe)), \ |
307 | GIC_SH_MAP_TO_VPE_REG_BIT(vpe)) | 307 | GIC_SH_MAP_TO_VPE_REG_BIT(vpe)) |
308 | 308 | ||
309 | struct gic_pcpu_mask { | ||
310 | DECLARE_BITMAP(pcpu_mask, GIC_NUM_INTRS); | ||
311 | }; | ||
312 | |||
313 | struct gic_pending_regs { | ||
314 | DECLARE_BITMAP(pending, GIC_NUM_INTRS); | ||
315 | }; | ||
316 | |||
317 | struct gic_intrmask_regs { | ||
318 | DECLARE_BITMAP(intrmask, GIC_NUM_INTRS); | ||
319 | }; | ||
320 | |||
321 | /* | 309 | /* |
322 | * Interrupt Meta-data specification. The ipiflag helps | 310 | * Interrupt Meta-data specification. The ipiflag helps |
323 | * in building ipi_map. | 311 | * in building ipi_map. |
diff --git a/arch/mips/kernel/irq-gic.c b/arch/mips/kernel/irq-gic.c index 88e4c323382c..a1dea3ea59a0 100644 --- a/arch/mips/kernel/irq-gic.c +++ b/arch/mips/kernel/irq-gic.c | |||
@@ -28,6 +28,18 @@ unsigned int gic_irq_flags[GIC_NUM_INTRS]; | |||
28 | /* The index into this array is the vector # of the interrupt. */ | 28 | /* The index into this array is the vector # of the interrupt. */ |
29 | struct gic_shared_intr_map gic_shared_intr_map[GIC_NUM_INTRS]; | 29 | struct gic_shared_intr_map gic_shared_intr_map[GIC_NUM_INTRS]; |
30 | 30 | ||
31 | struct gic_pcpu_mask { | ||
32 | DECLARE_BITMAP(pcpu_mask, GIC_NUM_INTRS); | ||
33 | }; | ||
34 | |||
35 | struct gic_pending_regs { | ||
36 | DECLARE_BITMAP(pending, GIC_NUM_INTRS); | ||
37 | }; | ||
38 | |||
39 | struct gic_intrmask_regs { | ||
40 | DECLARE_BITMAP(intrmask, GIC_NUM_INTRS); | ||
41 | }; | ||
42 | |||
31 | static struct gic_pcpu_mask pcpu_masks[NR_CPUS]; | 43 | static struct gic_pcpu_mask pcpu_masks[NR_CPUS]; |
32 | static struct gic_pending_regs pending_regs[NR_CPUS]; | 44 | static struct gic_pending_regs pending_regs[NR_CPUS]; |
33 | static struct gic_intrmask_regs intrmask_regs[NR_CPUS]; | 45 | static struct gic_intrmask_regs intrmask_regs[NR_CPUS]; |