Re: [PATCH 8/9] x86: Unify node_to_cpumask_map handling between 32and 64bit

From: Pekka Enberg
Date: Thu Nov 11 2010 - 07:11:29 EST


On Thu, Nov 11, 2010 at 1:02 PM, Tejun Heo <tj@xxxxxxxxxx> wrote:
> x86_32 has been managing node_to_cpumask_map explicitly from
> map_cpu_to_node() and friends in a rather ugly way.  With previous
> changes, it's now possible to simply share the code with 64bit.
>
> * numa_add/remove_cpu() are moved from numa_64 to numa.
>
> * identify_cpu() now calls numa_add_cpu() for 32bit too.  This makes
>  the explicit mask management from map_cpu_to_node() unnecessary.
>
> * The whole x86_32 specific map_cpu_to_node() chunk is no longer
>  necessary.  Dropped.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>

Acked-by: Pekka Enberg <penberg@xxxxxxxxxx>
--
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/