summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2006-03-06 12:51:29 +1100
committerPaul Mackerras <paulus@samba.org>2006-03-17 13:20:40 +1100
commit0f6be7b77ceaea01a35b37fab26f4ea3b01efe14 (patch)
treea8e8cf9dd90f6778fa29879fee40d04a55cd9b4f /arch/ppc
parent23dd64011285010ac291f7dddf6e287bdb43a0ad (diff)
downloadblackbird-op-linux-0f6be7b77ceaea01a35b37fab26f4ea3b01efe14.tar.gz
blackbird-op-linux-0f6be7b77ceaea01a35b37fab26f4ea3b01efe14.zip
[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 <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud