irq_64.h 616 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _ASM_IRQ_H
  2. #define _ASM_IRQ_H
  3. /*
  4. * linux/include/asm/irq.h
  5. *
  6. * (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar
  7. *
  8. * IRQ/IPI changes taken from work by Thomas Radke
  9. * <tomsoft@informatik.tu-chemnitz.de>
  10. */
  11. #include <asm/apicdef.h>
  12. #include <asm/irq_vectors.h>
  13. static inline int irq_canonicalize(int irq)
  14. {
  15. return ((irq == 2) ? 9 : irq);
  16. }
  17. #define ARCH_HAS_NMI_WATCHDOG /* See include/linux/nmi.h */
  18. #ifdef CONFIG_HOTPLUG_CPU
  19. #include <linux/cpumask.h>
  20. extern void fixup_irqs(cpumask_t map);
  21. #endif
  22. #define __ARCH_HAS_DO_SOFTIRQ 1
  23. extern void native_init_IRQ(void);
  24. #endif /* _ASM_IRQ_H */