summaryrefslogtreecommitdiff
path: root/plat/qemu/qemu_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/qemu/qemu_common.c')
-rw-r--r--plat/qemu/qemu_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plat/qemu/qemu_common.c b/plat/qemu/qemu_common.c
index aee8321c..56bf9532 100644
--- a/plat/qemu/qemu_common.c
+++ b/plat/qemu/qemu_common.c
@@ -132,11 +132,11 @@ static const mmap_region_t plat_qemu_mmap[] = {
}
/* Define EL1 and EL3 variants of the function initialising the MMU */
-#ifdef AARCH32
-DEFINE_CONFIGURE_MMU_EL(svc_mon)
-#else
+#ifdef __aarch64__
DEFINE_CONFIGURE_MMU_EL(el1)
DEFINE_CONFIGURE_MMU_EL(el3)
+#else
+DEFINE_CONFIGURE_MMU_EL(svc_mon)
#endif