s390/thp: respect page protection in pmd_none() and pmd_present()
authorGerald Schaefer <gerald.schaefer@de.ibm.com>
Thu, 25 Oct 2012 15:42:50 +0000 (17:42 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 26 Oct 2012 14:44:23 +0000 (16:44 +0200)
Similar to pte_none() and pte_present(), the pmd functions should also
respect page protection of huge pages, especially PROT_NONE.
This patch also simplifies massage_pgprot_pmd() by adding new definitions
for huge page protection.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found