diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-07-16 10:38:16 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 20:05:36 +0400 |
commit | 140d5a49046b6d73dce4a4229e88c000a99ee126 (patch) | |
tree | 64dcfe28ef6f5ccee5a2722e5c332c66ded29e28 /mm/page_alloc.c | |
parent | 462e00cc7151ed91fba688594436c453c80efb5d (diff) | |
download | linux-140d5a49046b6d73dce4a4229e88c000a99ee126.tar.xz |
numa: mempolicy: trivial debug fixes.
Enabling debugging fails to build due to the nodemask variable in
do_mbind() having changed names, and then oopses on boot due to the
assumption that the nodemask can be dereferenced -- which doesn't work out
so well when the policy is changed to MPOL_DEFAULT with a NULL nodemask by
numa_default_policy().
This fixes it up, and switches from PDprintk() to pr_debug() while
we're at it.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions