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
14 #include <linux/interrupt.h>
16 extern unsigned int nr_irq;
20 static inline int irq_canonicalize(int irq)
26 extern void do_IRQ(struct pt_regs *regs);
28 /* irq_of_parse_and_map - Parse and Map an interrupt into linux virq space
29 * @device: Device node of the device whose interrupt is to be mapped
30 * @index: Index of the interrupt to map
32 * This function is a wrapper that chains of_irq_map_one() and
33 * irq_create_of_mapping() to make things easier to callers
36 extern unsigned int irq_of_parse_and_map(struct device_node *dev, int index);
38 /** FIXME - not implement
39 * irq_dispose_mapping - Unmap an interrupt
40 * @virq: linux virq number of the interrupt to unmap
42 static inline void irq_dispose_mapping(unsigned int virq)
47 #endif /* _ASM_MICROBLAZE_IRQ_H */