diff options
author | Andi Kleen <ak@suse.de> | 2005-10-29 21:15:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 00:40:35 -0400 |
commit | dfcd3c0dc426bb75770c34b40e14f2da8845ea62 (patch) | |
tree | bd7e9f8463a18025c4775c6cdf22abbbd4236b64 /fs | |
parent | e46a5e28c201f703c18b47b108bfddec44f897c4 (diff) |
[PATCH] Convert mempolicies to nodemask_t
The NUMA policy code predated nodemask_t so it used open coded bitmaps.
Convert everything to nodemask_t. Big patch, but shouldn't have any actual
behaviour changes (except I removed one unnecessary check against
node_online_map and one unnecessary BUG_ON)
Signed-off-by: "Andi Kleen" <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/task_mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index c7ef3e48e35b..994612bc72d0 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c | |||
@@ -469,7 +469,7 @@ static int show_numa_map(struct seq_file *m, void *v) | |||
469 | seq_printf(m, " interleave={"); | 469 | seq_printf(m, " interleave={"); |
470 | first = 1; | 470 | first = 1; |
471 | for_each_node(n) { | 471 | for_each_node(n) { |
472 | if (test_bit(n, pol->v.nodes)) { | 472 | if (node_isset(n, pol->v.nodes)) { |
473 | if (!first) | 473 | if (!first) |
474 | seq_putc(m,','); | 474 | seq_putc(m,','); |
475 | else | 475 | else |