irq-gic.c 456 B

123456789101112131415161718192021222324
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. *
  4. * Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com>
  5. * Copyright (C) 2015 John Crispin <john@phrozen.org>
  6. */
  7. #include <linux/init.h>
  8. #include <linux/of.h>
  9. #include <linux/irqchip.h>
  10. #include <asm/mips-cps.h>
  11. #include <asm/time.h>
  12. int get_c0_perfcount_int(void)
  13. {
  14. return gic_get_c0_perfcount_int();
  15. }
  16. EXPORT_SYMBOL_GPL(get_c0_perfcount_int);
  17. void __init arch_init_irq(void)
  18. {
  19. irqchip_init();
  20. }