hardirq.h 773 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (C) 2006 Atmark Techno, Inc.
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. */
  8. #ifndef _ASM_MICROBLAZE_HARDIRQ_H
  9. #define _ASM_MICROBLAZE_HARDIRQ_H
  10. #include <linux/cache.h>
  11. #include <linux/irq.h>
  12. #include <asm/irq.h>
  13. #include <asm/current.h>
  14. #include <linux/ptrace.h>
  15. /* should be defined in each interrupt controller driver */
  16. extern unsigned int get_irq(struct pt_regs *regs);
  17. typedef struct {
  18. unsigned int __softirq_pending;
  19. } ____cacheline_aligned irq_cpustat_t;
  20. void ack_bad_irq(unsigned int irq);
  21. #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
  22. #endif /* _ASM_MICROBLAZE_HARDIRQ_H */