From: Hugh Dickins Date: Mon, 14 Aug 2023 04:52:38 +0000 (-0700) Subject: arm: include asm/cacheflush.h in asm/hugetlb.h X-Git-Tag: v6.6.7~1970^2~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=889690bcbccb457d85cfd16ce0d8259ecdb10ce4;p=platform%2Fkernel%2Flinux-starfive.git arm: include asm/cacheflush.h in asm/hugetlb.h Patch series "arch: include asm/cacheflush.h in asm/hugetlb.h". Three architectures are using PG_dcache_clean in their asm/hugetlb.h, but relying on accident to include the asm/cacheflush.h which defines it. This patch (of 3): PG_dcache_clean is used in asm/hugetlb.h but defined in asm/cacheflush.h: builds rely on an accident of that being included via linux/mempolicy.h, but better include it directly (like arch/sh/include/asm/hugetlb.h does). Link: https://lkml.kernel.org/r/6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com Link: https://lkml.kernel.org/r/4b055d0-7b2e-72bf-9b9d-8f3f1cd312d0@google.com Signed-off-by: Hugh Dickins Cc: Catalin Marinas Cc: Mike Kravetz Cc: Palmer Dabbelt Cc: Russell King Cc: Will Deacon Signed-off-by: Andrew Morton --- diff --git a/arch/arm/include/asm/hugetlb.h b/arch/arm/include/asm/hugetlb.h index d02d6ca..a3a82b7 100644 --- a/arch/arm/include/asm/hugetlb.h +++ b/arch/arm/include/asm/hugetlb.h @@ -10,6 +10,7 @@ #ifndef _ASM_ARM_HUGETLB_H #define _ASM_ARM_HUGETLB_H +#include #include #include #include