2 * Copyright (C) 2006 Atmark Techno, Inc.
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
9 #ifndef _ASM_MICROBLAZE_HARDIRQ_H
10 #define _ASM_MICROBLAZE_HARDIRQ_H
12 #include <linux/cache.h>
13 #include <linux/irq.h>
15 #include <asm/current.h>
16 #include <linux/ptrace.h>
18 /* should be defined in each interrupt controller driver */
19 extern unsigned int get_irq(struct pt_regs *regs);
22 unsigned int __softirq_pending;
23 } ____cacheline_aligned irq_cpustat_t;
25 void ack_bad_irq(unsigned int irq);
27 #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
29 #endif /* _ASM_MICROBLAZE_HARDIRQ_H */