From 7f4fd22f2f56b2b4620139d377e8db0976a2ae3b Mon Sep 17 00:00:00 2001 From: Zhiyong Yang Date: Fri, 19 Apr 2019 03:04:41 -0400 Subject: [PATCH] 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 --- src/vppinfra/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); -- 2.16.6