hardirq.h 841 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * include/asm-xtensa/hardirq.h
  3. *
  4. * This file is subject to the terms and conditions of the GNU General
  5. * Public License. See the file "COPYING" in the main directory of
  6. * this archive for more details.
  7. *
  8. * Copyright (C) 2002 - 2005 Tensilica Inc.
  9. */
  10. #ifndef _XTENSA_HARDIRQ_H
  11. #define _XTENSA_HARDIRQ_H
  12. #include <linux/config.h>
  13. #include <linux/cache.h>
  14. #include <asm/irq.h>
  15. /* headers.S is sensitive to the offsets of these fields */
  16. typedef struct {
  17. unsigned int __softirq_pending;
  18. unsigned int __syscall_count;
  19. struct task_struct * __ksoftirqd_task; /* waitqueue is too large */
  20. unsigned int __nmi_count; /* arch dependent */
  21. } ____cacheline_aligned irq_cpustat_t;
  22. void ack_bad_irq(unsigned int irq);
  23. #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
  24. #endif /* _XTENSA_HARDIRQ_H */