nfsd4: indentation cleanup
[safe/jmp/linux-2.6] / include / linux / irqnr.h
index ec87b21..7bf89bc 100644 (file)
@@ -41,6 +41,12 @@ extern struct irq_desc *irq_to_desc(unsigned int irq);
                        ;                                               \
                else
 
+#ifdef CONFIG_SMP
+#define irq_node(irq)  (irq_to_desc(irq)->node)
+#else
+#define irq_node(irq)  0
+#endif
+
 #endif /* CONFIG_GENERIC_HARDIRQS */
 
 #define for_each_irq_nr(irq)                   \