hardirq.h 635 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __V850_HARDIRQ_H__
  2. #define __V850_HARDIRQ_H__
  3. #include <linux/config.h>
  4. #include <linux/threads.h>
  5. #include <linux/cache.h>
  6. #include <asm/irq.h>
  7. typedef struct {
  8. unsigned int __softirq_pending;
  9. } ____cacheline_aligned irq_cpustat_t;
  10. #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
  11. #define HARDIRQ_BITS 8
  12. /*
  13. * The hardirq mask has to be large enough to have
  14. * space for potentially all IRQ sources in the system
  15. * nesting on a single CPU:
  16. */
  17. #if (1 << HARDIRQ_BITS) < NR_IRQS
  18. # error HARDIRQ_BITS is too low!
  19. #endif
  20. void ack_bad_irq(unsigned int irq);
  21. #endif /* __V850_HARDIRQ_H__ */