mm: include <linux/huge_mm.h> for is_vma_temporary_stack
Subsystems (2)
[email protected]
maintainerPATCH 18/26 mm: include <linux/huge_mm.h> for is_vma_temporary_stack
From: Ben Dooks <[email protected]>
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?
Signed-off-by Ben Dooks <[email protected]>
Reviewed-by Qian Cai <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/rmap.c | 1 + 1 file changed, 1 insertion(+)
mm/rmap.c renamed from mm/rmap.c~mm-include-linux-huge_mmh-for-is_vma_temporary_stack +1 -0
@@ -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>
_