aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
authorZhiyong Yang <zhiyong.yang@intel.com>2019-04-19 03:04:41 -0400
committerDamjan Marion <dmarion@me.com>2019-04-23 07:12:33 +0000
commit7f4fd22f2f56b2b4620139d377e8db0976a2ae3b (patch)
tree894b993498bf50ae80a491f8c65ca27e89eab7cb /src/vppinfra
parentd0aed2eb399521449060dfa46964a11dd652e787 (diff)
vppinfra: fix one macro issue in clib_cpu_supports_aes()
The macro for x86 platform is wrong, and the patch fixes it. Change-Id: I4f0ed254b177d6863fbe9113308c6a8b4478e0b2 Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/cpu.h b/src/vppinfra/cpu.h
index 31a6e5b48e0..3e52087f1f0 100644
--- a/src/vppinfra/cpu.h
+++ b/src/vppinfra/cpu.h
@@ -234,7 +234,7 @@ static inline int clib_cpu_supports_ ## flag() { return 0; }
static inline int
clib_cpu_supports_aes ()
{
-#if defined (__aarch64__)
+#if defined(__x86_64__)
return clib_cpu_supports_x86_aes ();
#elif defined (__aarch64__)
return clib_cpu_supports_aarch64_aes ();