public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ppc: Fix build of irq.c with CONFIG_TAU_INT
@ 2004-10-22  2:43 Benjamin Herrenschmidt
  0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2004-10-22  2:43 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linus Torvalds, Linux Kernel list

Hi !

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

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

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;



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-22  2:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-22  2:43 [PATCH] ppc: Fix build of irq.c with CONFIG_TAU_INT Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox