Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11321
b: refs/heads/master
c: dfcd3c0
h: refs/heads/master
i:
  11319: ff38810
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Oct 30, 2005
1 parent 32d993c commit 95fa793
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 71 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e46a5e28c201f703c18b47b108bfddec44f897c4
refs/heads/master: dfcd3c0dc426bb75770c34b40e14f2da8845ea62
2 changes: 1 addition & 1 deletion trunk/fs/proc/task_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ static int show_numa_map(struct seq_file *m, void *v)
seq_printf(m, " interleave={");
first = 1;
for_each_node(n) {
if (test_bit(n, pol->v.nodes)) {
if (node_isset(n, pol->v.nodes)) {
if (!first)
seq_putc(m,',');
else
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/mempolicy.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@

#include <linux/config.h>
#include <linux/mmzone.h>
#include <linux/bitmap.h>
#include <linux/slab.h>
#include <linux/rbtree.h>
#include <linux/spinlock.h>
#include <linux/nodemask.h>

struct vm_area_struct;

Expand Down Expand Up @@ -63,7 +63,7 @@ struct mempolicy {
union {
struct zonelist *zonelist; /* bind */
short preferred_node; /* preferred */
DECLARE_BITMAP(nodes, MAX_NUMNODES); /* interleave */
nodemask_t nodes; /* interleave */
/* undefined for default */
} v;
};
Expand Down
Loading

0 comments on commit 95fa793

Please sign in to comment.