]> git.hungrycats.org Git - linux/commitdiff
[IA64] irq.c: Kill warning about variables which are unused in UP kernels.
authorDavid Mosberger <davidm@hpl.hp.com>
Wed, 8 Sep 2004 18:47:07 +0000 (18:47 +0000)
committerDavid Mosberger <davidm@hpl.hp.com>
Wed, 8 Sep 2004 18:47:07 +0000 (18:47 +0000)
Signed-off-by: davidm@hpl.hp.com
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/irq.c

index 9ec161c631375831856cb71dcae6d339cdaf0969..bea82b9d91cffac91a61e23c3f43b38b674238dd 100644 (file)
@@ -84,11 +84,13 @@ irq_desc_t _irq_desc[NR_IRQS] __cacheline_aligned = {
        }
 };
 
+#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)