]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: armv8: mmu: Prepare for common.h removal
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Wed, 1 Nov 2023 20:05:52 +0000 (20:05 +0000)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 2 Nov 2023 10:30:18 +0000 (11:30 +0100)
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

index 19a9e112a43448f7142e984964d3fb2245b9a105..4f0adb07325ffbb7a42080184b98d2f9ccf7a9f7 100644 (file)
 #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");