projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95918f4
)
cpumask: alloc_cpumask_var() use NUMA_NO_NODE
author
KOSAKI Motohiro
<
[email protected]
>
Tue, 26 Jul 2011 23:08:44 +0000
(16:08 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 26 Jul 2011 23:49:44 +0000
(16:49 -0700)
NUMA_NO_NODE and numa_node_id() have different meanings. NUMA_NO_NODE is
obviously the recommended fallback.
Signed-off-by: KOSAKI Motohiro <
[email protected]
>
Cc: Christoph Lameter <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
lib/cpumask.c
patch
|
blob
|
history
diff --git
a/lib/cpumask.c
b/lib/cpumask.c
index 4f6425d77232e870352d0a9d589b17a2e6f503b2..af3e5817de98fe2614194b1899436a70034c4a97 100644
(file)
--- a/
lib/cpumask.c
+++ b/
lib/cpumask.c
@@
-131,7
+131,7
@@
EXPORT_SYMBOL(zalloc_cpumask_var_node);
*/
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);