aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2007-07-17 07:03:03 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 13:22:59 -0400
commitf0e47c229b489e37ba7e4159ef7f9cf9ccd44e19 (patch)
tree52ec70d775bb7f7eafa6863829646ee49cbf427f /include/asm-i386
parent5ee403f584a67fb8725cca4d55218925b9295528 (diff)
mm: remove ptep_establish()
The last user of ptep_establish in mm/ is long gone. Remove the architecture primitive as well. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-i386')
-rw-r--r--include/asm-i386/pgtable.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/asm-i386/pgtable.h b/include/asm-i386/pgtable.h
index 01734e05e63b..afb1597ec173 100644
--- a/include/asm-i386/pgtable.h
+++ b/include/asm-i386/pgtable.h
@@ -311,17 +311,6 @@ static inline pte_t native_local_ptep_get_and_clear(pte_t *ptep)
311 __ret; \ 311 __ret; \
312}) 312})
313 313
314/*
315 * Rules for using ptep_establish: the pte MUST be a user pte, and
316 * must be a present->present transition.
317 */
318#define __HAVE_ARCH_PTEP_ESTABLISH
319#define ptep_establish(vma, address, ptep, pteval) \
320do { \
321 set_pte_present((vma)->vm_mm, address, ptep, pteval); \
322 flush_tlb_page(vma, address); \
323} while (0)
324
325#define __HAVE_ARCH_PTEP_CLEAR_DIRTY_FLUSH 314#define __HAVE_ARCH_PTEP_CLEAR_DIRTY_FLUSH
326#define ptep_clear_flush_dirty(vma, address, ptep) \ 315#define ptep_clear_flush_dirty(vma, address, ptep) \
327({ \ 316({ \