hardirq.h 374 B

1234567891011121314151617181920
  1. #ifndef __ASM_HARDIRQ_H
  2. #define __ASM_HARDIRQ_H
  3. #include <asm/irq.h>
  4. #define HARDIRQ_BITS 8
  5. /*
  6. * The hardirq mask has to be large enough to have
  7. * space for potentially all IRQ sources in the system
  8. * nesting on a single CPU:
  9. */
  10. #if (1 << HARDIRQ_BITS) < NR_IRQS
  11. # error HARDIRQ_BITS is too low!
  12. #endif
  13. #include <asm-generic/hardirq.h>
  14. #endif /* __ASM_HARDIRQ_H */