ext3: Update MAINTAINERS for ext3 and JBD
[linux/fpc-iii.git] / arch / microblaze / include / asm / irq.h
blob90f050535ebef0f51881fdc451bac5df84816a9d
1 /*
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
6 * for more details.
7 */
9 #ifndef _ASM_MICROBLAZE_IRQ_H
10 #define _ASM_MICROBLAZE_IRQ_H
12 #define NR_IRQS 32
13 #include <asm-generic/irq.h>
15 #include <linux/interrupt.h>
17 extern unsigned int nr_irq;
19 #define NO_IRQ (-1)
21 struct pt_regs;
22 extern void do_IRQ(struct pt_regs *regs);
24 /* irq_of_parse_and_map - Parse and Map an interrupt into linux virq space
25 * @device: Device node of the device whose interrupt is to be mapped
26 * @index: Index of the interrupt to map
28 * This function is a wrapper that chains of_irq_map_one() and
29 * irq_create_of_mapping() to make things easier to callers
31 struct device_node;
32 extern unsigned int irq_of_parse_and_map(struct device_node *dev, int index);
34 /** FIXME - not implement
35 * irq_dispose_mapping - Unmap an interrupt
36 * @virq: linux virq number of the interrupt to unmap
38 static inline void irq_dispose_mapping(unsigned int virq)
40 return;
43 #endif /* _ASM_MICROBLAZE_IRQ_H */