irq.h 364 B

12345678910111213141516171819
  1. #ifndef __ASM_GENERIC_IRQ_H
  2. #define __ASM_GENERIC_IRQ_H
  3. /*
  4. * NR_IRQS is the upper bound of how many interrupts can be handled
  5. * in the platform. It is used to size the static irq_map array,
  6. * so don't make it too big.
  7. */
  8. #ifndef NR_IRQS
  9. #define NR_IRQS 64
  10. #endif
  11. static inline int irq_canonicalize(int irq)
  12. {
  13. return irq;
  14. }
  15. #endif /* __ASM_GENERIC_IRQ_H */