summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2026-05-28 16:37:12 +0200
committerYann Gautier <yann.gautier@st.com>2026-06-22 19:32:17 +0200
commit25389406a2b3b7ee524c8dabdb4a658a97f59443 (patch)
treea0cd91681f999072ac997326721ca222a997f23c /common
parent6bd2c7a951355be4c42aaef897a4a55c934b23bc (diff)
downloadarm-trusted-firmware-25389406a2b3b7ee524c8dabdb4a658a97f59443.tar.gz
arm-trusted-firmware-25389406a2b3b7ee524c8dabdb4a658a97f59443.zip
fix(el3-runtime): use #ifdef for __aarch64__ flags
The __aarch64__ is only defined, without a value, it should be checked with #ifdef. This corrects -Wundef GCC warning. Change-Id: I44abd4cf77d6b2cf4a588946e2e3df5a0bb1bfd5 Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'common')
-rw-r--r--common/runtime_svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/runtime_svc.c b/common/runtime_svc.c
index e86317bd6..e55b0aedb 100644
--- a/common/runtime_svc.c
+++ b/common/runtime_svc.c
@@ -57,7 +57,7 @@ static bool get_handler_for_smc_fid(uint32_t smc_fid, rt_svc_handle_t *handler)
return true;
}
-#if __aarch64__
+#ifdef __aarch64__
#include <lib/extensions/ras_arch.h>
#if FFH_SUPPORT