|
@@ -94,17 +94,6 @@ struct mmu_notifier_ops {
|
|
|
unsigned long address,
|
|
|
pte_t pte);
|
|
|
|
|
|
- /*
|
|
|
- * Before this is invoked any secondary MMU is still ok to
|
|
|
- * read/write to the page previously pointed to by the Linux
|
|
|
- * pte because the page hasn't been freed yet and it won't be
|
|
|
- * freed until this returns. If required set_page_dirty has to
|
|
|
- * be called internally to this method.
|
|
|
- */
|
|
|
- void (*invalidate_page)(struct mmu_notifier *mn,
|
|
|
- struct mm_struct *mm,
|
|
|
- unsigned long address);
|
|
|
-
|
|
|
/*
|
|
|
* invalidate_range_start() and invalidate_range_end() must be
|
|
|
* paired and are called only when the mmap_sem and/or the
|
|
@@ -220,8 +209,6 @@ extern int __mmu_notifier_test_young(struct mm_struct *mm,
|
|
|
unsigned long address);
|
|
|
extern void __mmu_notifier_change_pte(struct mm_struct *mm,
|
|
|
unsigned long address, pte_t pte);
|
|
|
-extern void __mmu_notifier_invalidate_page(struct mm_struct *mm,
|
|
|
- unsigned long address);
|
|
|
extern void __mmu_notifier_invalidate_range_start(struct mm_struct *mm,
|
|
|
unsigned long start, unsigned long end);
|
|
|
extern void __mmu_notifier_invalidate_range_end(struct mm_struct *mm,
|
|
@@ -268,13 +255,6 @@ static inline void mmu_notifier_change_pte(struct mm_struct *mm,
|
|
|
__mmu_notifier_change_pte(mm, address, pte);
|
|
|
}
|
|
|
|
|
|
-static inline void mmu_notifier_invalidate_page(struct mm_struct *mm,
|
|
|
- unsigned long address)
|
|
|
-{
|
|
|
- if (mm_has_notifiers(mm))
|
|
|
- __mmu_notifier_invalidate_page(mm, address);
|
|
|
-}
|
|
|
-
|
|
|
static inline void mmu_notifier_invalidate_range_start(struct mm_struct *mm,
|
|
|
unsigned long start, unsigned long end)
|
|
|
{
|
|
@@ -442,11 +422,6 @@ static inline void mmu_notifier_change_pte(struct mm_struct *mm,
|
|
|
{
|
|
|
}
|
|
|
|
|
|
-static inline void mmu_notifier_invalidate_page(struct mm_struct *mm,
|
|
|
- unsigned long address)
|
|
|
-{
|
|
|
-}
|
|
|
-
|
|
|
static inline void mmu_notifier_invalidate_range_start(struct mm_struct *mm,
|
|
|
unsigned long start, unsigned long end)
|
|
|
{
|