ia64: kill uniprocessor compilation-warning

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2004-09-08 21:21:05
Kill warning about variables in arch/ia64/kernel/irq.c which are
unused in UP kernels.

Signed-off-by: davidm@hpl.hp.com

===== arch/ia64/kernel/irq.c 1.47 vs edited =====
--- 1.47/arch/ia64/kernel/irq.c	2004-08-31 00:57:57 -07:00
+++ edited/arch/ia64/kernel/irq.c	2004-09-08 04:16:13 -07:00
@@ -84,11 +84,13 @@
 	}
 };
 
+#ifdef CONFIG_SMP
 /*
  * This is updated when the user sets irq affinity via /proc
  */
 cpumask_t __cacheline_aligned pending_irq_cpumask[NR_IRQS];
 static unsigned long pending_irq_redir[BITS_TO_LONGS(NR_IRQS)];
+#endif
 
 #ifdef CONFIG_IA64_GENERIC
 irq_desc_t * __ia64_irq_desc (unsigned int irq)
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Sep 8 07:21:46 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:30 EST