Skip to content

Commit 444f84f

Browse files
bjdooks-cttorvalds
authored andcommitted
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/[email protected] Signed-off-by: Ben Dooks <[email protected]> Reviewed-by: Qian Cai <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent f7daefe commit 444f84f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mm/rmap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
#include <linux/mmu_notifier.h>
6262
#include <linux/migrate.h>
6363
#include <linux/hugetlb.h>
64+
#include <linux/huge_mm.h>
6465
#include <linux/backing-dev.h>
6566
#include <linux/page_idle.h>
6667
#include <linux/memremap.h>

0 commit comments

Comments
 (0)