Commit | Line | Data |
---|---|---|
eedbdab9 MS |
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 | ||
2462bacd | 12 | #define NR_IRQS (32 + 1) |
0a584583 | 13 | #include <asm-generic/irq.h> |
eedbdab9 | 14 | |
eedbdab9 MS |
15 | struct pt_regs; |
16 | extern void do_IRQ(struct pt_regs *regs); | |
17 | ||
2462bacd GL |
18 | /* should be defined in each interrupt controller driver */ |
19 | extern unsigned int get_irq(void); | |
c6ba01a4 | 20 | |
eedbdab9 | 21 | #endif /* _ASM_MICROBLAZE_IRQ_H */ |