ppc: Fix build of irq.c with CONFIG_TAU_INT
PATCH 1/1 ppc: Fix build of irq.c with CONFIG_TAU_INT
Hi !
This patch fixes build of arch/ppc/kernel/irc.c when CONFIG_TAU_INT is set.
Signed-off-by Benjamin Herrenschmidt <[email protected]>
arch/ppc/kernel/irq.c +5 -0
@@ -71,6 +71,11 @@unsigned long ppc_lost_interrupts[NR_MASK_WORDS ];atomic_t ppc_n_lost_interrupts; +#ifdef CONFIG_TAU_INT +extern int tau_initialized; +extern int tau_interrupts (int ); +#endif +int show_interrupts (struct seq_file *p,void *v) {int i = *(loff_t *) v, j;