hardirq.h 764 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef _ASM_IA64_HARDIRQ_H
  2. #define _ASM_IA64_HARDIRQ_H
  3. /*
  4. * Modified 1998-2002, 2004 Hewlett-Packard Co
  5. * David Mosberger-Tang <davidm@hpl.hp.com>
  6. */
  7. #include <linux/threads.h>
  8. #include <linux/irq.h>
  9. #include <asm/processor.h>
  10. /*
  11. * No irq_cpustat_t for IA-64. The data is held in the per-CPU data structure.
  12. */
  13. #define __ARCH_IRQ_STAT 1
  14. #define local_softirq_pending() (local_cpu_data->softirq_pending)
  15. #define HARDIRQ_BITS 14
  16. /*
  17. * The hardirq mask has to be large enough to have space for potentially all IRQ sources
  18. * in the system nesting on a single CPU:
  19. */
  20. #if (1 << HARDIRQ_BITS) < NR_IRQS
  21. # error HARDIRQ_BITS is too low!
  22. #endif
  23. extern void __iomem *ipi_base_addr;
  24. void ack_bad_irq(unsigned int irq);
  25. #endif /* _ASM_IA64_HARDIRQ_H */