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
9 #ifndef _ASM_MICROBLAZE_IRQ_H
10 #define _ASM_MICROBLAZE_IRQ_H
13 #include <asm-generic/irq.h>
15 #include <linux/interrupt.h>
17 extern unsigned int nr_irq
;
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
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
)
43 #endif /* _ASM_MICROBLAZE_IRQ_H */