Re: [PATCH 1/1] mm: define default cpu_to_node

From: Paul Mundt
Date: Fri May 09 2008 - 01:22:46 EST


On Thu, May 08, 2008 at 04:02:39PM -0700, Mike Travis wrote:
> * Some architectures have CONFIG_NUMA=y but do not define a
> default cpu_to_node macro. This provides the default in
> asm-generic/topology.h but it relies on the fact that
> cpu_to_node is a defined macro (and not an inline function).
>
NACK.. This isn't going to work anyways, cpu_to_node() is just where the
first build error occurs. If you do this, then parent_node() is the next
one to blow up, node_to_cpumask() after that, etc, etc. For now I've just
stubbed the asm-generic/topology.h definitions in to asm-sh/topology.h.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/