hardirq.h 592 B

12345678910111213141516171819202122232425
  1. /* (c) 2004 cw@f00f.org, GPLv2 blah blah */
  2. #ifndef __ASM_UM_HARDIRQ_H
  3. #define __ASM_UM_HARDIRQ_H
  4. #include <linux/threads.h>
  5. #include <linux/irq.h>
  6. /* NOTE: When SMP works again we might want to make this
  7. * ____cacheline_aligned or maybe use per_cpu state? --cw */
  8. typedef struct {
  9. unsigned int __softirq_pending;
  10. } irq_cpustat_t;
  11. #include <linux/irq_cpustat.h>
  12. /* As this would be very strange for UML to get we BUG() after the
  13. * printk. */
  14. static inline void ack_bad_irq(unsigned int irq)
  15. {
  16. printk(KERN_ERR "unexpected IRQ %02x\n", irq);
  17. BUG();
  18. }
  19. #endif /* __ASM_UM_HARDIRQ_H */