diff options
-rw-r--r-- | include/asm-um/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-um/pgtable.h b/include/asm-um/pgtable.h index e57ff136ee51..1b1090a91a58 100644 --- a/include/asm-um/pgtable.h +++ b/include/asm-um/pgtable.h | |||
@@ -270,7 +270,7 @@ static inline pte_t pte_wrprotect(pte_t pte) | |||
270 | 270 | ||
271 | static inline pte_t pte_mkread(pte_t pte) | 271 | static inline pte_t pte_mkread(pte_t pte) |
272 | { | 272 | { |
273 | pte_set_bits(pte, _PAGE_RW); | 273 | pte_set_bits(pte, _PAGE_USER); |
274 | return(pte_mknewprot(pte)); | 274 | return(pte_mknewprot(pte)); |
275 | } | 275 | } |
276 | 276 | ||