aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/pgtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/pgtable.h')
-rw-r--r--include/asm-ia64/pgtable.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-ia64/pgtable.h b/include/asm-ia64/pgtable.h
index f923d811c421..47642e06b920 100644
--- a/include/asm-ia64/pgtable.h
+++ b/include/asm-ia64/pgtable.h
@@ -543,8 +543,10 @@ extern void lazy_mmu_prot_update (pte_t pte);
543# define ptep_set_access_flags(__vma, __addr, __ptep, __entry, __safely_writable) \ 543# define ptep_set_access_flags(__vma, __addr, __ptep, __entry, __safely_writable) \
544({ \ 544({ \
545 int __changed = !pte_same(*(__ptep), __entry); \ 545 int __changed = !pte_same(*(__ptep), __entry); \
546 if (__changed) \ 546 if (__changed) { \
547 ptep_establish(__vma, __addr, __ptep, __entry); \ 547 set_pte_at((__vma)->vm_mm, (__addr), __ptep, __entry); \
548 flush_tlb_page(__vma, __addr); \
549 } \
548 __changed; \ 550 __changed; \
549}) 551})
550#endif 552#endif