hardirq.h 555 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __M68K_HARDIRQ_H
  2. #define __M68K_HARDIRQ_H
  3. #include <linux/threads.h>
  4. #include <linux/cache.h>
  5. #include <asm/irq.h>
  6. #ifdef CONFIG_MMU
  7. static inline void ack_bad_irq(unsigned int irq)
  8. {
  9. pr_crit("unexpected IRQ trap at vector %02x\n", irq);
  10. }
  11. /* entry.S is sensitive to the offsets of these fields */
  12. typedef struct {
  13. unsigned int __softirq_pending;
  14. } ____cacheline_aligned irq_cpustat_t;
  15. #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
  16. #else
  17. #include <asm-generic/hardirq.h>
  18. #endif /* !CONFIG_MMU */
  19. #endif