cpumask: alloc_cpumask_var() use NUMA_NO_NODE

NUMA_NO_NODE and numa_node_id() have different meanings.  NUMA_NO_NODE is
obviously the recommended fallback.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
KOSAKI Motohiro 2011-07-26 16:08:44 -07:00 committed by Linus Torvalds
parent 95918f4a72
commit 37e7b5f153
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ EXPORT_SYMBOL(zalloc_cpumask_var_node);
*/ */
bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags)
{ {
return alloc_cpumask_var_node(mask, flags, numa_node_id()); return alloc_cpumask_var_node(mask, flags, NUMA_NO_NODE);
} }
EXPORT_SYMBOL(alloc_cpumask_var); EXPORT_SYMBOL(alloc_cpumask_var);