On Wed, 15 Nov 2006 18:37:01 +0100 Christoph Hellwig <[EMAIL PROTECTED]> wrote:
> +#ifdef CONFIG_NUMA > +#define dev_to_node(dev) ((dev)->numa_node) > +#define set_dev_node(dev, node) ((dev)->numa_node = node) > +#else > +#define dev_to_node(dev) (-1) > +#define set_dev_node(dev, node) do { } while (0) > +#endif minor point: using inlines here would give typechecking, prevent possible unused-var warnings, etc. Maybe there was a reason for not doing that. <does it> No doubt I'll find out ;) - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html