aboutsummaryrefslogtreecommitdiffstats
path: root/mm/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'mm/internal.h')
-rw-r--r--mm/internal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/mm/internal.h b/mm/internal.h
index b4ac332e8072..f02c7508068d 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -73,7 +73,6 @@ static inline void munlock_vma_pages_all(struct vm_area_struct *vma)
73} 73}
74#endif 74#endif
75 75
76#ifdef CONFIG_UNEVICTABLE_LRU
77/* 76/*
78 * unevictable_migrate_page() called only from migrate_page_copy() to 77 * unevictable_migrate_page() called only from migrate_page_copy() to
79 * migrate unevictable flag to new page. 78 * migrate unevictable flag to new page.
@@ -85,11 +84,6 @@ static inline void unevictable_migrate_page(struct page *new, struct page *old)
85 if (TestClearPageUnevictable(old)) 84 if (TestClearPageUnevictable(old))
86 SetPageUnevictable(new); 85 SetPageUnevictable(new);
87} 86}
88#else
89static inline void unevictable_migrate_page(struct page *new, struct page *old)
90{
91}
92#endif
93 87
94#ifdef CONFIG_HAVE_MLOCKED_PAGE_BIT 88#ifdef CONFIG_HAVE_MLOCKED_PAGE_BIT
95/* 89/*