linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [patch 18/26] mm: include <linux/huge_mm.h> for is_vma_temporary_stack
@ 2019-10-19  3:20 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2019-10-19  3:20 UTC (permalink / raw)
  To: akpm, ben.dooks, cai, linux-mm, mm-commits, torvalds

From: Ben Dooks <ben.dooks@codethink.co.uk>
Subject: 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?

Link: http://lkml.kernel.org/r/20191009151155.27763-1-ben.dooks@codethink.co.uk
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Qian Cai <cai@lca.pw>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/rmap.c |    1 +
 1 file changed, 1 insertion(+)

--- a/mm/rmap.c~mm-include-linux-huge_mmh-for-is_vma_temporary_stack
+++ a/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>
_


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-19  3:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-19  3:20 [patch 18/26] mm: include <linux/huge_mm.h> for is_vma_temporary_stack akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox