Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d0aed2e
)
vppinfra: fix one macro issue in clib_cpu_supports_aes()
63/19063/2
author
Zhiyong Yang
<zhiyong.yang@intel.com>
Fri, 19 Apr 2019 07:04:41 +0000
(
03:04
-0400)
committer
Damjan Marion
<dmarion@me.com>
Tue, 23 Apr 2019 07:12:33 +0000
(07:12 +0000)
The macro for x86 platform is wrong, and the patch fixes it.
Change-Id: I4f0ed254b177d6863fbe9113308c6a8b4478e0b2
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
src/vppinfra/cpu.h
patch
|
blob
|
history
diff --git
a/src/vppinfra/cpu.h
b/src/vppinfra/cpu.h
index
31a6e5b
..
3e52087
100644
(file)
--- 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
(__aarch
64__)
+#if defined
(__x86_
64__)
return clib_cpu_supports_x86_aes ();
#elif defined (__aarch64__)
return clib_cpu_supports_aarch64_aes ();