diff options
Diffstat (limited to 'include/asm-generic/pgtable.h')
-rw-r--r-- | include/asm-generic/pgtable.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h index 41b95d82a185..2065e81701fc 100644 --- a/include/asm-generic/pgtable.h +++ b/include/asm-generic/pgtable.h | |||
@@ -652,18 +652,6 @@ static inline pmd_t pmd_read_atomic(pmd_t *pmdp) | |||
652 | } | 652 | } |
653 | #endif | 653 | #endif |
654 | 654 | ||
655 | #ifndef pmd_move_must_withdraw | ||
656 | static inline int pmd_move_must_withdraw(spinlock_t *new_pmd_ptl, | ||
657 | spinlock_t *old_pmd_ptl) | ||
658 | { | ||
659 | /* | ||
660 | * With split pmd lock we also need to move preallocated | ||
661 | * PTE page table if new_pmd is on different PMD page table. | ||
662 | */ | ||
663 | return new_pmd_ptl != old_pmd_ptl; | ||
664 | } | ||
665 | #endif | ||
666 | |||
667 | /* | 655 | /* |
668 | * This function is meant to be used by sites walking pagetables with | 656 | * This function is meant to be used by sites walking pagetables with |
669 | * the mmap_sem hold in read mode to protect against MADV_DONTNEED and | 657 | * the mmap_sem hold in read mode to protect against MADV_DONTNEED and |