[PATCH] ARC: add hugetlb definitions

Vineet Gupta vineet.gupta at linux.dev
Wed Dec 13 19:32:05 PST 2023



On 12/13/23 07:07, Pavel Kozlov wrote:
> From: Pavel Kozlov <pavel.kozlov at synopsys.com>
>
> 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
> TRANSPARENT_HUGEPAGE enabled.
>
> Signed-off-by: Pavel Kozlov <pavel.kozlov at synopsys.com>

Added to for-curr.

I'll pile this will rest of patches for some linux-next soaking.

Thx,
-Vineet



More information about the linux-snps-arc mailing list