aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/pgtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/pgtable.h')
-rw-r--r--include/asm-i386/pgtable.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-i386/pgtable.h b/include/asm-i386/pgtable.h
index ee9696d2f67f..8cb708a6bed0 100644
--- a/include/asm-i386/pgtable.h
+++ b/include/asm-i386/pgtable.h
@@ -269,6 +269,17 @@ do { \
269#define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_DIRTY 269#define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_DIRTY
270#define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG 270#define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG
271 271
272/*
273 * Rules for using ptep_establish: the pte MUST be a user pte, and
274 * must be a present->present transition.
275 */
276#define __HAVE_ARCH_PTEP_ESTABLISH
277#define ptep_establish(vma, address, ptep, pteval) \
278do { \
279 set_pte_present((vma)->vm_mm, address, ptep, pteval); \
280 flush_tlb_page(vma, address); \
281} while (0)
282
272#define __HAVE_ARCH_PTEP_CLEAR_DIRTY_FLUSH 283#define __HAVE_ARCH_PTEP_CLEAR_DIRTY_FLUSH
273#define ptep_clear_flush_dirty(vma, address, ptep) \ 284#define ptep_clear_flush_dirty(vma, address, ptep) \
274({ \ 285({ \