我在Linux内核2.6.43中的handle.c中找到了两个struct irq_desc * irq_to_desc(unsigned int irq)函数声明。
struct irq_desc *irq_to_desc(unsigned int irq)
{
return radix_tree_lookup(&irq_desc_tree, irq);
}
和
struct irq_desc *irq_to_desc(unsigned int irq)
{
return radix_tree_lookup(&irq_desc_tree, irq);
}
它们在一个文件中。但是,为什么该文件可以成功编译?
慕婉清6462132