diff options
Diffstat (limited to 'include/asm-xtensa/pgtable.h')
-rw-r--r-- | include/asm-xtensa/pgtable.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/asm-xtensa/pgtable.h b/include/asm-xtensa/pgtable.h index e9fc512cc247..06850f3b26a7 100644 --- a/include/asm-xtensa/pgtable.h +++ b/include/asm-xtensa/pgtable.h | |||
@@ -267,17 +267,6 @@ ptep_test_and_clear_young(struct vm_area_struct *vma, unsigned long addr, | |||
267 | return 1; | 267 | return 1; |
268 | } | 268 | } |
269 | 269 | ||
270 | static inline int | ||
271 | ptep_test_and_clear_dirty(struct vm_area_struct *vma, unsigned long addr, | ||
272 | pte_t *ptep) | ||
273 | { | ||
274 | pte_t pte = *ptep; | ||
275 | if (!pte_dirty(pte)) | ||
276 | return 0; | ||
277 | update_pte(ptep, pte_mkclean(pte)); | ||
278 | return 1; | ||
279 | } | ||
280 | |||
281 | static inline pte_t | 270 | static inline pte_t |
282 | ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) | 271 | ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) |
283 | { | 272 | { |
@@ -418,7 +407,6 @@ typedef pte_t *pte_addr_t; | |||
418 | #endif /* !defined (__ASSEMBLY__) */ | 407 | #endif /* !defined (__ASSEMBLY__) */ |
419 | 408 | ||
420 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG | 409 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG |
421 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_DIRTY | ||
422 | #define __HAVE_ARCH_PTEP_GET_AND_CLEAR | 410 | #define __HAVE_ARCH_PTEP_GET_AND_CLEAR |
423 | #define __HAVE_ARCH_PTEP_SET_WRPROTECT | 411 | #define __HAVE_ARCH_PTEP_SET_WRPROTECT |
424 | #define __HAVE_ARCH_PTEP_MKDIRTY | 412 | #define __HAVE_ARCH_PTEP_MKDIRTY |