On Fri, 25 Jan 2013 17:58:11 -0800 (PST)
Hugh Dickins <hu...@google.com> wrote:

> +#ifdef CONFIG_NUMA
> +#define NUMA(x)              (x)
> +#define DO_NUMA(x)   (x)

Did we consider

        #define DO_NUMA do { (x) } while (0)

?

That could avoid some nasty config-dependent compilation issues.

> +#else
> +#define NUMA(x)              (0)
> +#define DO_NUMA(x)   do { } while (0)
> +#endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to