From 0a5d5fe30de6602b1ddb2a72e69482c6e6f3d063 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Wed, 1 Nov 2023 20:05:52 +0000 Subject: [PATCH] arm: armv8: mmu: Prepare for common.h removal If won't be included before , we need to ensure that we have the required type definitions. Signed-off-by: Paul Barker --- 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 19a9e112a4..4f0adb0732 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 + static inline void set_ttbr_tcr_mair(int el, u64 table, u64 tcr, u64 attr) { asm volatile("dsb sy"); -- 2.39.5