irq_no.h 465 B

1234567891011121314151617181920212223242526
  1. #ifndef _M68KNOMMU_IRQ_H_
  2. #define _M68KNOMMU_IRQ_H_
  3. #ifdef CONFIG_COLDFIRE
  4. /*
  5. * On the ColdFire we keep track of all vectors. That way drivers
  6. * can register whatever vector number they wish, and we can deal
  7. * with it.
  8. */
  9. #define SYS_IRQS 256
  10. #define NR_IRQS SYS_IRQS
  11. #else
  12. /*
  13. * # of m68k interrupts
  14. */
  15. #define SYS_IRQS 8
  16. #define NR_IRQS (24 + SYS_IRQS)
  17. #endif /* CONFIG_COLDFIRE */
  18. #define irq_canonicalize(irq) (irq)
  19. #endif /* _M68KNOMMU_IRQ_H_ */