hardirq.h 697 B

123456789101112131415161718192021222324252627
  1. #ifndef __ASM_HARDIRQ_H
  2. #define __ASM_HARDIRQ_H
  3. /*
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version
  7. * 2 of the License, or (at your option) any later version.
  8. */
  9. #include <linux/config.h>
  10. #include <linux/cache.h>
  11. #include <linux/preempt.h>
  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. static inline void ack_bad_irq(int irq)
  17. {
  18. printk(KERN_CRIT "illegal vector %d received!\n", irq);
  19. BUG();
  20. }
  21. #endif /* __ASM_HARDIRQ_H */