diff options
author | Zhiyong Yang <zhiyong.yang@intel.com> | 2019-04-19 03:04:41 -0400 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-04-23 07:12:33 +0000 |
commit | 7f4fd22f2f56b2b4620139d377e8db0976a2ae3b (patch) | |
tree | 894b993498bf50ae80a491f8c65ca27e89eab7cb /src/vppinfra/cpu.h | |
parent | d0aed2eb399521449060dfa46964a11dd652e787 (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/cpu.h')
-rw-r--r-- | src/vppinfra/cpu.h | 2 |
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 (); |