[PATCH 0/3] arch: include asm/cacheflush.h in asm/hugetlb.h

Hugh Dickins hughd at google.com
Sun Aug 13 21:50:34 PDT 2023


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.

1/3 arm: include asm/cacheflush.h in asm/hugetlb.h
2/3 arm64: include asm/cacheflush.h in asm/hugetlb.h
3/3 riscv: include asm/cacheflush.h in asm/hugetlb.h

 arch/arm/include/asm/hugetlb.h   | 1 +
 arch/arm64/include/asm/hugetlb.h | 1 +
 arch/riscv/include/asm/hugetlb.h | 1 +
 3 files changed, 3 insertions(+)

Hugh



More information about the linux-riscv mailing list