Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / include / linux / irqchip / metag.h
1 /*
2  * Copyright (C) 2011 Imagination Technologies
3  */
4
5 #ifndef _LINUX_IRQCHIP_METAG_H_
6 #define _LINUX_IRQCHIP_METAG_H_
7
8 #include <linux/errno.h>
9
10 #ifdef CONFIG_METAG_PERFCOUNTER_IRQS
11 extern int init_internal_IRQ(void);
12 extern int internal_irq_map(unsigned int hw);
13 #else
14 static inline int init_internal_IRQ(void)
15 {
16         return 0;
17 }
18 static inline int internal_irq_map(unsigned int hw)
19 {
20         return -EINVAL;
21 }
22 #endif
23
24 #endif /* _LINUX_IRQCHIP_METAG_H_ */