/* * Copyright (C) 2011 Imagination Technologies */ #ifndef _LINUX_IRQCHIP_METAG_H_ #define _LINUX_IRQCHIP_METAG_H_ #include <linux/errno.h> #ifdef [31mCONFIG_METAG_PERFCOUNTER_IRQS[0m extern int init_internal_IRQ(void); extern int internal_irq_map(unsigned int hw); #else static inline int init_internal_IRQ(void) { return 0; } static inline int internal_irq_map(unsigned int hw) { return -EINVAL; } #endif #endif /* _LINUX_IRQCHIP_METAG_H_ */ |