hardirq.h 790 B

1234567891011121314151617181920212223242526272829303132333435363738
  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/config.h>
  8. #include <linux/threads.h>
  9. #include <linux/irq.h>
  10. #include <asm/processor.h>
  11. /*
  12. * No irq_cpustat_t for IA-64. The data is held in the per-CPU data structure.
  13. */
  14. #define __ARCH_IRQ_STAT 1
  15. #define local_softirq_pending() (local_cpu_data->softirq_pending)
  16. #define HARDIRQ_BITS 14
  17. /*
  18. * The hardirq mask has to be large enough to have space for potentially all IRQ sources
  19. * in the system nesting on a single CPU:
  20. */
  21. #if (1 << HARDIRQ_BITS) < NR_IRQS
  22. # error HARDIRQ_BITS is too low!
  23. #endif
  24. extern void __iomem *ipi_base_addr;
  25. void ack_bad_irq(unsigned int irq);
  26. #endif /* _ASM_IA64_HARDIRQ_H */