
1 Nov
2023
1 Nov
'23
9:05 p.m.
If <common.h> won't be included before <asm/armv8/mmu.h>, we need to ensure that we have the required type definitions.
Signed-off-by: Paul Barker paul.barker.ct@bp.renesas.com --- arch/arm/include/asm/armv8/mmu.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h index 19a9e112a434..4f0adb07325f 100644 --- a/arch/arm/include/asm/armv8/mmu.h +++ b/arch/arm/include/asm/armv8/mmu.h @@ -118,6 +118,8 @@ #define HCR_EL2_E2H_BIT 34
#ifndef __ASSEMBLY__ +#include <linux/types.h> + static inline void set_ttbr_tcr_mair(int el, u64 table, u64 tcr, u64 attr) { asm volatile("dsb sy");
base-commit: a803f87202aa48974bdff4d8100464a8288931e4
--
2.39.2