From: David Gibson Date: Mon, 6 Mar 2006 01:51:29 +0000 (+1100) Subject: [PATCH] powerpc: Better pmd_bad() and pud_bad() checks X-Git-Tag: v2.6.17-rc1~1117^2~28^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f6be7b77ceaea01a35b37fab26f4ea3b01efe14;p=pandora-kernel.git [PATCH] powerpc: Better pmd_bad() and pud_bad() checks At present, the powerpc pmd_bad() and pud_bad() macros return false unless the given pmd or pud is zero. This patch makes these tests more thorough, checking if the given pmd or pud looks like a plausible pte page or pmd page pointer respectively. This can result in helpful error messages when messing with the pagetable code. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed