s390: add missing pte_read function
PATCH 1/1 s390: add missing pte_read function
Hi Andrew,
this patch adds the missing pte_read function and makes s390 compile again.
Thanks,
Heiko
Signed-off-by Heiko Carstens <[email protected]>
include/asm-s390/pgtable.h +8 -0
@@ -418,6 +418,14 @@return 0 ; } +extern inline int pte_read (pte_t pte) +{ +/* All pages are readable since we don't use the fetch +* protection bit in the storage key. +*/ +return 1 ; +} +/* * pgd/pmd/pte modification functions */