ARC fixes for 6.7

 - build error for hugetlb, sparse and smatch fixes

 - Removal of VIPT aliasing cache code
ARC: add hugetlb definitions

Add hugetlb definitions if THP enabled. ARC doesn't support
HugeTLB FS but it supports THP. Some kernel code such as pagemap
uses hugetlb definitions with THP.

This patch fixes ARC build issue (HPAGE_SIZE undeclared error) with

Signed-off-by: Pavel Kozlov <>
Signed-off-by: Vineet Gupta <>
1 file changed