aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/hardware/gic.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/hardware/gic.h')
-rw-r--r--arch/arm/include/asm/hardware/gic.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/include/asm/hardware/gic.h b/arch/arm/include/asm/hardware/gic.h
index 435d3f86c708..14867e12f205 100644
--- a/arch/arm/include/asm/hardware/gic.h
+++ b/arch/arm/include/asm/hardware/gic.h
@@ -40,12 +40,19 @@ void gic_init(unsigned int, unsigned int, void __iomem *, void __iomem *);
40void gic_secondary_init(unsigned int); 40void gic_secondary_init(unsigned int);
41void gic_cascade_irq(unsigned int gic_nr, unsigned int irq); 41void gic_cascade_irq(unsigned int gic_nr, unsigned int irq);
42void gic_raise_softirq(const struct cpumask *mask, unsigned int irq); 42void gic_raise_softirq(const struct cpumask *mask, unsigned int irq);
43void gic_enable_ppi(unsigned int);
44 43
45struct gic_chip_data { 44struct gic_chip_data {
46 unsigned int irq_offset; 45 unsigned int irq_offset;
47 void __iomem *dist_base; 46 void __iomem *dist_base;
48 void __iomem *cpu_base; 47 void __iomem *cpu_base;
48#ifdef CONFIG_CPU_PM
49 u32 saved_spi_enable[DIV_ROUND_UP(1020, 32)];
50 u32 saved_spi_conf[DIV_ROUND_UP(1020, 16)];
51 u32 saved_spi_target[DIV_ROUND_UP(1020, 4)];
52 u32 __percpu *saved_ppi_enable;
53 u32 __percpu *saved_ppi_conf;
54#endif
55 unsigned int gic_irqs;
49}; 56};
50#endif 57#endif
51 58