hardirq_32.h 617 B

1234567891011121314151617181920212223
  1. /* hardirq.h: 32-bit Sparc hard IRQ support.
  2. *
  3. * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
  4. * Copyright (C) 1998-2000 Anton Blanchard (anton@samba.org)
  5. */
  6. #ifndef __SPARC_HARDIRQ_H
  7. #define __SPARC_HARDIRQ_H
  8. #include <linux/threads.h>
  9. #include <linux/spinlock.h>
  10. #include <linux/cache.h>
  11. /* entry.S is sensitive to the offsets of these fields */ /* XXX P3 Is it? */
  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. #define HARDIRQ_BITS 8
  17. #endif /* __SPARC_HARDIRQ_H */