diff options
| author | Paul Barker <[email protected]> | 2023-11-01 20:05:52 +0000 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2023-11-02 11:30:18 +0100 |
| commit | 0a5d5fe30de6602b1ddb2a72e69482c6e6f3d063 (patch) | |
| tree | f6a5caf94cb1755b49614dfa38996ac974c4ff8f | |
| parent | a803f87202aa48974bdff4d8100464a8288931e4 (diff) | |
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 <[email protected]>
| -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 19a9e112a43..4f0adb07325 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"); |
