[Devel] [PATCH rh7 v2] mm/tswap: Add missing include

Andrey Ryabinin aryabinin at virtuozzo.com
Wed Jul 4 13:32:59 MSK 2018


Add #include <linux/swap_slots.h>. Needed for swap_slot_cache_enabled
variable.

Signed-off-by: Andrey Ryabinin <aryabinin at virtuozzo.com>
---
 mm/tswap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mm/tswap.c b/mm/tswap.c
index 7b02c1142db2..551a6949b96a 100644
--- a/mm/tswap.c
+++ b/mm/tswap.c
@@ -16,6 +16,7 @@
 #include <linux/radix-tree.h>
 #include <linux/list.h>
 #include <linux/swap.h>
+#include <linux/swap_slots.h>
 #include <linux/swapops.h>
 #include <linux/pagemap.h>
 #include <linux/shrinker.h>
-- 
2.16.4



More information about the Devel mailing list