diff options
Diffstat (limited to 'include/linux/mmu_notifier.h')
-rw-r--r-- | include/linux/mmu_notifier.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mmu_notifier.h b/include/linux/mmu_notifier.h index 7b2e31b1745a..6866e8126982 100644 --- a/include/linux/mmu_notifier.h +++ b/include/linux/mmu_notifier.h | |||
@@ -400,6 +400,11 @@ extern void mmu_notifier_synchronize(void); | |||
400 | 400 | ||
401 | #else /* CONFIG_MMU_NOTIFIER */ | 401 | #else /* CONFIG_MMU_NOTIFIER */ |
402 | 402 | ||
403 | static inline int mm_has_notifiers(struct mm_struct *mm) | ||
404 | { | ||
405 | return 0; | ||
406 | } | ||
407 | |||
403 | static inline void mmu_notifier_release(struct mm_struct *mm) | 408 | static inline void mmu_notifier_release(struct mm_struct *mm) |
404 | { | 409 | { |
405 | } | 410 | } |