irq_32.h 526 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* irq.h: IRQ registers on the Sparc.
  3. *
  4. * Copyright (C) 1995, 2007 David S. Miller ([email protected])
  5. */
  6. #ifndef _SPARC_IRQ_H
  7. #define _SPARC_IRQ_H
  8. /* Allocated number of logical irq numbers.
  9. * sun4d boxes (ss2000e) should be OK with ~32.
  10. * Be on the safe side and make room for 64
  11. */
  12. #define NR_IRQS 64
  13. #include <linux/interrupt.h>
  14. #define irq_canonicalize(irq) (irq)
  15. void __init init_IRQ(void);
  16. void __init sun4d_init_sbi_irq(void);
  17. #define NO_IRQ 0xffffffff
  18. #endif