xref: /openbmc/linux/arch/microblaze/include/asm/irq.h (revision 12eb4683)
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 
12 #define NR_IRQS		(32 + 1)
13 #include <asm-generic/irq.h>
14 
15 struct pt_regs;
16 extern void do_IRQ(struct pt_regs *regs);
17 
18 /* should be defined in each interrupt controller driver */
19 extern unsigned int get_irq(void);
20 
21 #endif /* _ASM_MICROBLAZE_IRQ_H */
22