Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198221
b: refs/heads/master
c: 6d55629
h: refs/heads/master
i:
  198219: 6c15025
v: v3
  • Loading branch information
Bob Liu authored and Linus Torvalds committed May 25, 2010
1 parent f8ab3f4 commit 537c94f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: e13861d822f8f443ca0c020ea8fc2dc01039cd63
refs/heads/master: 6d556294d5b27fb12f18be7495af45b6156a409e
5 changes: 1 addition & 4 deletions trunk/mm/mempolicy.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ static int is_valid_nodemask(const nodemask_t *nodemask)
{
int nd, k;

/* Check that there is something useful in this mask */
k = policy_zone;

for_each_node_mask(nd, *nodemask) {
struct zone *z;

Expand All @@ -145,7 +142,7 @@ static int is_valid_nodemask(const nodemask_t *nodemask)

static inline int mpol_store_user_nodemask(const struct mempolicy *pol)
{
return pol->flags & (MPOL_F_STATIC_NODES | MPOL_F_RELATIVE_NODES);
return pol->flags & MPOL_MODE_FLAGS;
}

static void mpol_relative_nodemask(nodemask_t *ret, const nodemask_t *orig,
Expand Down

0 comments on commit 537c94f

Please sign in to comment.