hardirq.h 594 B

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