irq.h 612 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef __ASM_ARC_IRQ_H
  9. #define __ASM_ARC_IRQ_H
  10. #define NR_IRQS 32
  11. /* Platform Independent IRQs */
  12. #define TIMER0_IRQ 3
  13. #define TIMER1_IRQ 4
  14. #include <asm-generic/irq.h>
  15. extern void __init arc_init_IRQ(void);
  16. extern int __init get_hw_config_num_irq(void);
  17. void __cpuinit arc_local_timer_setup(unsigned int cpu);
  18. #endif