Michal Simek | eedbdab | 2009-03-27 14:25:49 +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_IRQ_H |
| 10 | #define _ASM_MICROBLAZE_IRQ_H |
| 11 | |
Grant Likely | 2462bac | 2012-01-26 14:10:13 -0700 | [diff] [blame] | 12 | #define NR_IRQS (32 + 1) |
Remis Lima Baima | 0a58458 | 2009-06-18 19:55:33 +0200 | [diff] [blame] | 13 | #include <asm-generic/irq.h> |
Michal Simek | eedbdab | 2009-03-27 14:25:49 +0100 | [diff] [blame] | 14 | |
Michal Simek | eedbdab | 2009-03-27 14:25:49 +0100 | [diff] [blame] | 15 | struct pt_regs; |
| 16 | extern void do_IRQ(struct pt_regs *regs); |
| 17 | |
Grant Likely | 2462bac | 2012-01-26 14:10:13 -0700 | [diff] [blame] | 18 | /* should be defined in each interrupt controller driver */ |
| 19 | extern unsigned int get_irq(void); |
Michal Simek | c6ba01a | 2010-01-14 15:16:31 +0100 | [diff] [blame] | 20 | |
Michal Simek | eedbdab | 2009-03-27 14:25:49 +0100 | [diff] [blame] | 21 | #endif /* _ASM_MICROBLAZE_IRQ_H */ |