mm: include <linux/huge_mm.h> for is_vma_temporary_stack
authorBen Dooks <ben.dooks@codethink.co.uk>
Sat, 19 Oct 2019 03:20:17 +0000 (20:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 19 Oct 2019 10:32:32 +0000 (06:32 -0400)
commit444f84fd2ac7bae36f3dd3ce1d39d11211c2c72a
tree2edbdc40dc7d049e15d57e1498dda4e52d01c23e
parentf7daefe4231e57381d92c2e2ad905a899c28e402
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/rmap.c