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>
This commit is contained in:
Paul Barker
2023-11-02 11:30:18 +01:00
committed by Marek Vasut
parent a803f87202
commit 0a5d5fe30d
+2
View File
@@ -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");