]> err.no Git - linux-2.6/commit
x86: change _node_to_cpumask_ptr to return const ptr
authorMike Travis <travis@sgi.com>
Tue, 8 Jul 2008 21:35:21 +0000 (14:35 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 13 Jul 2008 17:11:58 +0000 (19:11 +0200)
commit11369f356b66d363a615fde2c5526962f7683674
tree9723013073973c413e7cde295e99221ff40afca3
parentce8b06b985ae48f9425de6e4641e77cb3613ef00
x86: change _node_to_cpumask_ptr to return const ptr

  * Strengthen the return type for the _node_to_cpumask_ptr to be
    a const pointer.  This adds compiler checking to insure that
    node_to_cpumask_map[] is not changed inadvertently.

Signed-off-by: Mike Travis <travis@sgi.com>
Cc: "akpm@linux-foundation.org" <akpm@linux-foundation.org>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Acked-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_percpu.c
include/asm-generic/topology.h
include/asm-x86/topology.h