Skip to contentSkip to conversation

ppc: Fix build of irq.c with CONFIG_TAU_INT

PATCH New Benjamin Herrenschmidt 1 participant 1 message Oct 22, 2004

lore
Share & tools
lore
#0 lore raw

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.

arch/ppc/kernel/irq.c +5 -0
Index: linux-work/arch/ppc/kernel/irq.c
===================================================================
@@ -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;