Home
last modified time | relevance | path

Searched hist:"140 d5a49046b6d73dce4a4229e88c000a99ee126" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Dmempolicy.cdiff 140d5a49046b6d73dce4a4229e88c000a99ee126 Mon Jul 16 01:38:16 CDT 2007 Paul Mundt <lethal@linux-sh.org> 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>