]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/irq/handle.c
cpumask, irq: non-x86 build failures
[linux-2.6-omap-h63xx.git] / kernel / irq / handle.c
index b39f32ac8f80a9a1f39ded9e1e47d8215e88412f..04d3e46031e51f71ca62ccc0015a6f9b3ac8c660 100644 (file)
@@ -58,6 +58,11 @@ int nr_irqs = NR_IRQS;
 EXPORT_SYMBOL_GPL(nr_irqs);
 
 #ifdef CONFIG_SPARSE_IRQ
+
+#ifndef max_nr_irqs
+#define max_nr_irqs(nr_cpus)   NR_IRQS
+#endif
+
 static struct irq_desc irq_desc_init = {
        .irq        = -1,
        .status     = IRQ_DISABLED,