diff options
| author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2005-01-06 00:34:18 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-06 00:34:18 -0800 |
| commit | 0c6dac86d77d0a30cfd98ceca1cd518bdd16e729 (patch) | |
| tree | 9b2ad032339db9fa83b3947481b77c68ab0ca7f1 /include | |
| parent | 28a71360b8ce0441cd34e41c3a067a196bbfaa77 (diff) | |
[PATCH] s390: add missing pte_read function
this patch adds the missing pte_read function and makes s390 compile again.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-s390/pgtable.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-s390/pgtable.h b/include/asm-s390/pgtable.h index 9f52f2650f22..85f043c6d5cf 100644 --- a/include/asm-s390/pgtable.h +++ b/include/asm-s390/pgtable.h @@ -418,6 +418,14 @@ extern inline int pte_young(pte_t pte) 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 */ |
