diff options
Diffstat (limited to 'include/linux/rmap.h')
-rw-r--r-- | include/linux/rmap.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/rmap.h b/include/linux/rmap.h index b35bc0e19cd9..619379a1dd98 100644 --- a/include/linux/rmap.h +++ b/include/linux/rmap.h | |||
@@ -105,18 +105,11 @@ unsigned long page_address_in_vma(struct page *, struct vm_area_struct *); | |||
105 | */ | 105 | */ |
106 | int page_mkclean(struct page *); | 106 | int page_mkclean(struct page *); |
107 | 107 | ||
108 | #ifdef CONFIG_UNEVICTABLE_LRU | ||
109 | /* | 108 | /* |
110 | * called in munlock()/munmap() path to check for other vmas holding | 109 | * called in munlock()/munmap() path to check for other vmas holding |
111 | * the page mlocked. | 110 | * the page mlocked. |
112 | */ | 111 | */ |
113 | int try_to_munlock(struct page *); | 112 | int try_to_munlock(struct page *); |
114 | #else | ||
115 | static inline int try_to_munlock(struct page *page) | ||
116 | { | ||
117 | return 0; /* a.k.a. SWAP_SUCCESS */ | ||
118 | } | ||
119 | #endif | ||
120 | 113 | ||
121 | #else /* !CONFIG_MMU */ | 114 | #else /* !CONFIG_MMU */ |
122 | 115 | ||