summaryrefslogtreecommitdiff
path: root/plat/qemu/qemu_common.c
diff options
context:
space:
mode:
authorAlexei Fedorov <Alexei.Fedorov@arm.com>2019-08-02 10:21:53 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2019-08-02 10:21:53 +0000
commita3b16996ecb5d1cedc997204612e5f7c36ccd576 (patch)
treebf3de0c17a38822188847b7bdaad7f70441637b0 /plat/qemu/qemu_common.c
parent01c44dddbda2bf74dff4bdbaee43177236982887 (diff)
parent402b3cf8766fe2cb4ae462f7ee7761d08a1ba56c (diff)
Merge "Switch AARCH32/AARCH64 to __aarch64__" into integration
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