Michal Simek | 4dbdc9a | 2009-03-27 14:25:35 +0100 | [diff] [blame] | 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 | |
| 9 | #ifndef _ASM_MICROBLAZE_HARDIRQ_H |
| 10 | #define _ASM_MICROBLAZE_HARDIRQ_H |
| 11 | |
| 12 | #include <linux/cache.h> |
| 13 | #include <linux/irq.h> |
| 14 | #include <asm/irq.h> |
| 15 | #include <asm/current.h> |
| 16 | #include <linux/ptrace.h> |
| 17 | |
| 18 | /* should be defined in each interrupt controller driver */ |
| 19 | extern unsigned int get_irq(struct pt_regs *regs); |
| 20 | |
| 21 | typedef struct { |
| 22 | unsigned int __softirq_pending; |
| 23 | } ____cacheline_aligned irq_cpustat_t; |
| 24 | |
| 25 | void ack_bad_irq(unsigned int irq); |
| 26 | |
| 27 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ |
| 28 | |
| 29 | #endif /* _ASM_MICROBLAZE_HARDIRQ_H */ |