[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200330152612.2455-1-urezki@gmail.com>
Date: Mon, 30 Mar 2020 17:26:12 +0200
From: "Uladzislau Rezki (Sony)" <urezki@...il.com>
To: LKML <linux-kernel@...r.kernel.org>,
"Paul E . McKenney" <paulmck@...nel.org>,
Joel Fernandes <joel@...lfernandes.org>
Cc: RCU <rcu@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Uladzislau Rezki <urezki@...il.com>,
Steven Rostedt <rostedt@...dmis.org>,
Oleksiy Avramchenko <oleksiy.avramchenko@...ymobile.com>,
kbuild test robot <lkp@...el.com>
Subject: [PATCH] rcu/tree: include mm.h where kvfree() is defined
Fix build error, due to implicit declaration of
function vfree() by just including an appropriate
header file.
Reported-by: kbuild test robot <lkp@...el.com>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@...il.com>
---
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
Powered by blists - more mailing lists