Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230740
b: refs/heads/master
c: ecb256f
h: refs/heads/master
v: v3
  • Loading branch information
Volodymyr G. Lukiianyk authored and Linus Torvalds committed Jan 14, 2011
1 parent 1c7663e commit 1e9a999
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 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: dc83edd941f412e938841b4989be24aa288a1aa6
refs/heads/master: ecb256f815232b35ae8382cff36ca8ce0bbd077e
13 changes: 10 additions & 3 deletions trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2631,9 +2631,16 @@ static int __parse_numa_zonelist_order(char *s)

static __init int setup_numa_zonelist_order(char *s)
{
if (s)
return __parse_numa_zonelist_order(s);
return 0;
int ret;

if (!s)
return 0;

ret = __parse_numa_zonelist_order(s);
if (ret == 0)
strlcpy(numa_zonelist_order, s, NUMA_ZONELIST_ORDER_LEN);

return ret;
}
early_param("numa_zonelist_order", setup_numa_zonelist_order);

Expand Down

0 comments on commit 1e9a999

Please sign in to comment.