[PATCH] ppc: Fix build of irq.c with CONFIG_TAU_INT

From: Benjamin Herrenschmidt
Date: Thu Oct 21 2004 - 22:11:32 EST


Hi !

This patch fixes build of arch/ppc/kernel/irc.c when CONFIG_TAU_INT
is set.

Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>

Index: linux-work/arch/ppc/kernel/irq.c
===================================================================
--- linux-work.orig/arch/ppc/kernel/irq.c 2004-10-21 11:47:00.000000000 +1000
+++ linux-work/arch/ppc/kernel/irq.c 2004-10-22 12:41:22.683883440 +1000
@@ -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;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/