diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-07-16 08:38:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 18:05:36 +0200 |
commit | 140d5a49046b6d73dce4a4229e88c000a99ee126 (patch) | |
tree | 64dcfe28ef6f5ccee5a2722e5c332c66ded29e28 /kernel/kthread.c | |
parent | oom: stop allocating user memory if TIF_MEMDIE is set (diff) | |
download | linux-140d5a49046b6d73dce4a4229e88c000a99ee126.tar.xz linux-140d5a49046b6d73dce4a4229e88c000a99ee126.zip |
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 'kernel/kthread.c')
0 files changed, 0 insertions, 0 deletions