From: Paul Mundt Date: Mon, 16 Jul 2007 06:38:16 +0000 (-0700) Subject: numa: mempolicy: trivial debug fixes. X-Git-Tag: v2.6.23-rc1~1022 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=140d5a49046b6d73dce4a4229e88c000a99ee126;p=pandora-kernel.git 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 Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed