diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2011-07-26 19:08:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 19:49:44 -0400 |
commit | 37e7b5f1535dddaace865b25df34a2d049a3a66f (patch) | |
tree | b7e86149b5b74170039cbd1cbe2c172f6408bd3d /lib/cpumask.c | |
parent | 95918f4a72ce1dbbd2ce67a7c3bfff31335f4219 (diff) |
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>
Diffstat (limited to 'lib/cpumask.c')
-rw-r--r-- | lib/cpumask.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cpumask.c b/lib/cpumask.c index 4f6425d77232..af3e5817de98 100644 --- a/lib/cpumask.c +++ b/lib/cpumask.c | |||
@@ -131,7 +131,7 @@ EXPORT_SYMBOL(zalloc_cpumask_var_node); | |||
131 | */ | 131 | */ |
132 | bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) | 132 | bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) |
133 | { | 133 | { |
134 | return alloc_cpumask_var_node(mask, flags, numa_node_id()); | 134 | return alloc_cpumask_var_node(mask, flags, NUMA_NO_NODE); |
135 | } | 135 | } |
136 | EXPORT_SYMBOL(alloc_cpumask_var); | 136 | EXPORT_SYMBOL(alloc_cpumask_var); |
137 | 137 | ||