提交 46f288a0 编写于 作者: M Mike Frysinger

Blackfin: only build show_interrupts() when procfs is enabled

Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 26579216
......@@ -54,6 +54,7 @@ static struct irq_desc bad_irq_desc = {
#error "Blackfin architecture does not support CONFIG_CPUMASK_OFFSTACK."
#endif
#ifdef CONFIG_PROC_FS
int show_interrupts(struct seq_file *p, void *v)
{
int i = *(loff_t *) v, j;
......@@ -85,6 +86,7 @@ int show_interrupts(struct seq_file *p, void *v)
}
return 0;
}
#endif
/*
* do_IRQ handles all hardware IRQs. Decoded IRQs should not
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册