[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191009151155.27763-1-ben.dooks@codethink.co.uk>
Date: Wed, 9 Oct 2019 16:11:55 +0100
From: Ben Dooks <ben.dooks@...ethink.co.uk>
To: linux-kernel@...ts.codethink.co.uk
Cc: Ben Dooks <ben.dooks@...ethink.co.uk>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] mm: include <linux/huge_mm.h> for is_vma_temporary_stack
Include <linux/huge_mm.h> for the definition of
is_vma_temporary_stack to fix the following
sparse warning:
mm/rmap.c:1673:6: warning: symbol 'is_vma_temporary_stack' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@...ethink.co.uk>
---
Cc: linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org
---
mm/rmap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/rmap.c b/mm/rmap.c
index d9a23bb773bf..0c7b2a9400d4 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -61,6 +61,7 @@
#include <linux/mmu_notifier.h>
#include <linux/migrate.h>
#include <linux/hugetlb.h>
+#include <linux/huge_mm.h>
#include <linux/backing-dev.h>
#include <linux/page_idle.h>
#include <linux/memremap.h>
--
2.23.0
Powered by blists - more mailing lists