[PATCH 1/3] armv8: Include <linux/types.h> in mmu.h

Pierre-Clément Tosi ptosi at google.com
Tue Mar 29 19:06:05 CEST 2022


Import missing definition of type u64.

Fixes: 22932ffc03e5 ("ARMv8: Adjust MMU setup")
Signed-off-by: Pierre-Clément Tosi <ptosi at google.com>
Cc: Tom Rini <trini at konsulko.com>
Cc: York Sun <yorksun at freescale.com>
---
 arch/arm/include/asm/armv8/mmu.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h
index fc97c55114..517300e566 100644
--- a/arch/arm/include/asm/armv8/mmu.h
+++ b/arch/arm/include/asm/armv8/mmu.h
@@ -104,6 +104,9 @@
 #define TCR_EL3_RSVD		(1 << 31 | 1 << 23)
 
 #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");
-- 
2.35.1.1021.g381101b075-goog



More information about the U-Boot mailing list