aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/gic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/gic.h b/arch/mips/include/asm/gic.h
index f1a1e986d86b..6aa68ffad33c 100644
--- a/arch/mips/include/asm/gic.h
+++ b/arch/mips/include/asm/gic.h
@@ -359,6 +359,9 @@ struct gic_shared_intr_map {
359/* Mapped interrupt to pin X, then GIC will generate the vector (X+1). */ 359/* Mapped interrupt to pin X, then GIC will generate the vector (X+1). */
360#define GIC_PIN_TO_VEC_OFFSET (1) 360#define GIC_PIN_TO_VEC_OFFSET (1)
361 361
362#include <linux/clocksource.h>
363#include <linux/irq.h>
364
362extern unsigned int gic_present; 365extern unsigned int gic_present;
363extern unsigned int gic_frequency; 366extern unsigned int gic_frequency;
364extern unsigned long _gic_base; 367extern unsigned long _gic_base;
@@ -372,6 +375,7 @@ extern void gic_init(unsigned long gic_base_addr,
372 375
373extern void gic_clocksource_init(unsigned int); 376extern void gic_clocksource_init(unsigned int);
374extern unsigned int gic_get_int(void); 377extern unsigned int gic_get_int(void);
378extern cycle_t gic_read_count(void);
375extern void gic_send_ipi(unsigned int intr); 379extern void gic_send_ipi(unsigned int intr);
376extern unsigned int plat_ipi_call_int_xlate(unsigned int); 380extern unsigned int plat_ipi_call_int_xlate(unsigned int);
377extern unsigned int plat_ipi_resched_int_xlate(unsigned int); 381extern unsigned int plat_ipi_resched_int_xlate(unsigned int);