Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.0 24 lines 446 B view raw
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 11extern int init_internal_IRQ(void); 12extern int internal_irq_map(unsigned int hw); 13#else 14static inline int init_internal_IRQ(void) 15{ 16 return 0; 17} 18static inline int internal_irq_map(unsigned int hw) 19{ 20 return -EINVAL; 21} 22#endif 23 24#endif /* _LINUX_IRQCHIP_METAG_H_ */