aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2017-10-31 12:41:51 -0400
committerMarc Zyngier <marc.zyngier@arm.com>2017-11-02 11:55:48 -0400
commit61dc367e5d767e1c56147f6e497d13cc2771abb1 (patch)
tree19bba5ea833fa10334b36956e84cb99becc49a50 /drivers
parent5af3e93e16b39231f04623469eb4ac0e4406c0d1 (diff)
irqchip: mips-gic: Make IPI bitmaps static
We have 2 bitmaps used to keep track of interrupts dedicated to IPIs in the MIPS GIC irqchip driver. These bitmaps are only used from the one compilation unit of that driver, and so can be made static. Do so in order to avoid polluting the symbol table & global namespace. Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-mips@linux-mips.org Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/irqchip/irq-mips-gic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-mips-gic.c b/drivers/irqchip/irq-mips-gic.c
index b2e83461e2a8..3ccebb020f40 100644
--- a/drivers/irqchip/irq-mips-gic.c
+++ b/drivers/irqchip/irq-mips-gic.c
@@ -52,8 +52,8 @@ static int gic_shared_intrs;
52static unsigned int gic_cpu_pin; 52static unsigned int gic_cpu_pin;
53static unsigned int timer_cpu_pin; 53static unsigned int timer_cpu_pin;
54static struct irq_chip gic_level_irq_controller, gic_edge_irq_controller; 54static struct irq_chip gic_level_irq_controller, gic_edge_irq_controller;
55DECLARE_BITMAP(ipi_resrv, GIC_MAX_INTRS); 55static DECLARE_BITMAP(ipi_resrv, GIC_MAX_INTRS);
56DECLARE_BITMAP(ipi_available, GIC_MAX_INTRS); 56static DECLARE_BITMAP(ipi_available, GIC_MAX_INTRS);
57 57
58static struct gic_all_vpes_chip_data { 58static struct gic_all_vpes_chip_data {
59 u32 map; 59 u32 map;