]> 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)
commiteb51244fa2bcd9e476e8293606e995cbaba64849
tree2edbdc40dc7d049e15d57e1498dda4e52d01c23e
parent159bb3613bd5bb01d811fd167aa12b28693cca4e
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