]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabd6250db0ac6d556768d2731915349c36c78a36
tree2edbdc40dc7d049e15d57e1498dda4e52d01c23e
parent7a4aeda79625834ae20da6be3d4b2d78eaa44e2c
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