Commit 9512938b885304f72c847379611d6018064af840
Committed by
Linus Torvalds
1 parent
f1db7afd91
Exists in
master
and in
38 other branches
cpumask: update setup_node_to_cpumask_map() comments
node_to_cpumask() has been replaced by cpumask_of_node(), and wholly removed since commit 29c337a0 ("cpumask: remove obsolete node_to_cpumask now everyone uses cpumask_of_node"). So update the comments for setup_node_to_cpumask_map(). Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
arch/powerpc/mm/numa.c
... | ... | @@ -58,7 +58,7 @@ |
58 | 58 | * Allocate node_to_cpumask_map based on number of available nodes |
59 | 59 | * Requires node_possible_map to be valid. |
60 | 60 | * |
61 | - * Note: node_to_cpumask() is not valid until after this is done. | |
61 | + * Note: cpumask_of_node() is not valid until after this is done. | |
62 | 62 | */ |
63 | 63 | static void __init setup_node_to_cpumask_map(void) |
64 | 64 | { |
arch/x86/mm/numa.c
... | ... | @@ -110,7 +110,7 @@ |
110 | 110 | * Allocate node_to_cpumask_map based on number of available nodes |
111 | 111 | * Requires node_possible_map to be valid. |
112 | 112 | * |
113 | - * Note: node_to_cpumask() is not valid until after this is done. | |
113 | + * Note: cpumask_of_node() is not valid until after this is done. | |
114 | 114 | * (Use CONFIG_DEBUG_PER_CPU_MAPS to check this.) |
115 | 115 | */ |
116 | 116 | void __init setup_node_to_cpumask_map(void) |