[PATCH] rcu/tree: include mm.h where kvfree() is defined

From: Uladzislau Rezki (Sony)
Date: Mon Mar 30 2020 - 11:26:25 EST


Fix build error, due to implicit declaration of
function vfree() by just including an appropriate
header file.

Reported-by: kbuild test robot <lkp@xxxxxxxxx>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@xxxxxxxxx>
---
kernel/rcu/tree.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index d6536374d12a..27ed119a9027 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -57,6 +57,7 @@
#include <linux/slab.h>
#include <linux/sched/isolation.h>
#include <linux/sched/clock.h>
+#include <linux/mm.h>
#include "../time/tick-internal.h"

#include "tree.h"
--
2.20.1