From: Mike Travis Date: Fri, 27 Jun 2008 17:10:13 +0000 (-0700) Subject: x86: add check for node passed to node_to_cpumask, v3 X-Git-Tag: v2.6.27-rc1~1106^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a2f47ca27fad36f99e8478a3807d4b8c7db80e7;p=pandora-kernel.git x86: add check for node passed to node_to_cpumask, v3 * When CONFIG_DEBUG_PER_CPU_MAPS is set, the node passed to node_to_cpumask and node_to_cpumask_ptr should be validated. If invalid, then a dump_stack is performed and a zero cpumask is returned. v2: Slightly different version to remove a compiler warning. v3: Redone to reflect moving setup.c -> setup_percpu.c Signed-off-by: Mike Travis Cc: Vegard Nossum Cc: "akpm@linux-foundation.org" Cc: Yinghai Lu Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed