summaryrefslogtreecommitdiffstats
path: root/mm/mprotect.c
diff options
context:
space:
mode:
authorPaul Mundt2007-07-16 08:38:16 +0200
committerLinus Torvalds2007-07-16 18:05:36 +0200
commit140d5a49046b6d73dce4a4229e88c000a99ee126 (patch)
tree64dcfe28ef6f5ccee5a2722e5c332c66ded29e28 /mm/mprotect.c
parentoom: stop allocating user memory if TIF_MEMDIE is set (diff)
downloadkernel-qcow2-linux-140d5a49046b6d73dce4a4229e88c000a99ee126.tar.gz
kernel-qcow2-linux-140d5a49046b6d73dce4a4229e88c000a99ee126.tar.xz
kernel-qcow2-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 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions