diff options
author | Paul Barker <paul.barker.ct@bp.renesas.com> | 2023-11-01 20:05:52 +0000 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-11-02 11:30:18 +0100 |
commit | 0a5d5fe30de6602b1ddb2a72e69482c6e6f3d063 (patch) | |
tree | f6a5caf94cb1755b49614dfa38996ac974c4ff8f /arch | |
parent | a803f87202aa48974bdff4d8100464a8288931e4 (diff) | |
download | u-boot-0a5d5fe30de6602b1ddb2a72e69482c6e6f3d063.zip u-boot-0a5d5fe30de6602b1ddb2a72e69482c6e6f3d063.tar.gz u-boot-0a5d5fe30de6602b1ddb2a72e69482c6e6f3d063.tar.bz2 |
arm: armv8: mmu: Prepare for common.h removal
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/armv8/mmu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h index 19a9e11..4f0adb0 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"); |