diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2014-09-18 17:47:28 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 01:44:57 -0500 |
commit | 3263d085ab5beb84c838f99e4259d2eddbb85654 (patch) | |
tree | 4e21efde28868db52e14e7dc6671049298335ab4 /arch/mips/include | |
parent | e9de688dac6534e72d000e9069be2f929a6087be (diff) |
irqchip: mips-gic: Remove unnecessary globals
Now that all GIC interrupt routing and handling logic is in the GIC
driver itself, un-export variables/functions which are no longer used
outside the GIC driver. This also allows us to remove gic_compare_int
and combine gic_get_int_mask with gic_get_int since these interfaces
are no longer used.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com>
Tested-by: Qais Yousef <qais.yousef@imgtec.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jeffrey Deans <jeffrey.deans@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Jonas Gorski <jogo@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
Cc: David Daney <ddaney.cavm@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7820/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/gic.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/include/asm/gic.h b/arch/mips/include/asm/gic.h index 6b996105c4fe..727b7bf903a8 100644 --- a/arch/mips/include/asm/gic.h +++ b/arch/mips/include/asm/gic.h | |||
@@ -364,13 +364,11 @@ | |||
364 | extern unsigned int gic_present; | 364 | extern unsigned int gic_present; |
365 | extern unsigned int gic_frequency; | 365 | extern unsigned int gic_frequency; |
366 | extern unsigned long _gic_base; | 366 | extern unsigned long _gic_base; |
367 | extern unsigned int gic_cpu_pin; | ||
368 | 367 | ||
369 | extern void gic_init(unsigned long gic_base_addr, | 368 | extern void gic_init(unsigned long gic_base_addr, |
370 | unsigned long gic_addrspace_size, unsigned int cpu_vec, | 369 | unsigned long gic_addrspace_size, unsigned int cpu_vec, |
371 | unsigned int irqbase); | 370 | unsigned int irqbase); |
372 | extern void gic_clocksource_init(unsigned int); | 371 | extern void gic_clocksource_init(unsigned int); |
373 | extern unsigned int gic_compare_int (void); | ||
374 | extern cycle_t gic_read_count(void); | 372 | extern cycle_t gic_read_count(void); |
375 | extern cycle_t gic_read_compare(void); | 373 | extern cycle_t gic_read_compare(void); |
376 | extern void gic_write_compare(cycle_t cnt); | 374 | extern void gic_write_compare(cycle_t cnt); |
@@ -378,10 +376,7 @@ extern void gic_write_cpu_compare(cycle_t cnt, int cpu); | |||
378 | extern void gic_send_ipi(unsigned int intr); | 376 | extern void gic_send_ipi(unsigned int intr); |
379 | extern unsigned int plat_ipi_call_int_xlate(unsigned int); | 377 | extern unsigned int plat_ipi_call_int_xlate(unsigned int); |
380 | extern unsigned int plat_ipi_resched_int_xlate(unsigned int); | 378 | extern unsigned int plat_ipi_resched_int_xlate(unsigned int); |
381 | extern void gic_bind_eic_interrupt(int irq, int set); | ||
382 | extern unsigned int gic_get_timer_pending(void); | 379 | extern unsigned int gic_get_timer_pending(void); |
383 | extern void gic_get_int_mask(unsigned long *dst, const unsigned long *src); | ||
384 | extern unsigned int gic_get_int(void); | ||
385 | extern int gic_get_c0_compare_int(void); | 380 | extern int gic_get_c0_compare_int(void); |
386 | extern int gic_get_c0_perfcount_int(void); | 381 | extern int gic_get_c0_perfcount_int(void); |
387 | #endif /* _ASM_GICREGS_H */ | 382 | #endif /* _ASM_GICREGS_H */ |