]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: thp: unbork !CONFIG_TRANSPARENT_HUGEPAGE build
authorVineet Gupta <vgupta@synopsys.com>
Thu, 17 Mar 2016 09:30:59 +0000 (15:00 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 17 Mar 2016 10:01:45 +0000 (15:31 +0530)
commit918c6a43f959c1a92a066827c0611850489e799f
treefbc0995cd9b005aabca1a858e975b3d6b35b8aae
parentd581def19d8d6e2d59ea6566525721f6b182e4b6
ARC: thp: unbork !CONFIG_TRANSPARENT_HUGEPAGE build

linux-next for 4.6-rc1 timeline reported ARC build failures !THP

| arch/arc/include/asm/tlbflush.h:29:0: warning: "flush_pmd_tlb_range" redefined [enabled by default]
| arch/arc/include/asm/tlbflush.h:29:0: warning: "flush_pmd_tlb_range" redefined [enabled by default]
| arch/arc/include/asm/tlbflush.h:29:0: warning: "flush_pmd_tlb_range" redefined [enabled by default]

Turns out that commit ("mm/thp/migration: switch from flush_tlb_range
to flush_pmd_tlb_range") triggered the issue while the problem was in
ARC code where THP specific helpers were not guarded with #ifdef.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/tlbflush.h