[rh7,v2] mm/tswap: Add missing include

Submitted by Andrey Ryabinin on July 4, 2018, 10:32 a.m.

Details

Message ID 20180704103259.14752-1-aryabinin@virtuozzo.com
State New
Series "mm/tswap: Add missing include"
Headers show

Commit Message

Andrey Ryabinin July 4, 2018, 10:32 a.m.
Add #include <linux/swap_slots.h>. Needed for swap_slot_cache_enabled
variable.

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

Patch hide | download patch | download mbox

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>