irq.h 532 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (C) 2006 Atmark Techno, Inc.
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. */
  8. #ifndef _ASM_MICROBLAZE_IRQ_H
  9. #define _ASM_MICROBLAZE_IRQ_H
  10. #define NR_IRQS (32 + 1)
  11. #include <asm-generic/irq.h>
  12. struct pt_regs;
  13. extern void do_IRQ(struct pt_regs *regs);
  14. /* should be defined in each interrupt controller driver */
  15. extern unsigned int get_irq(void);
  16. #endif /* _ASM_MICROBLAZE_IRQ_H */