diff options
author | Damjan Marion <damarion@cisco.com> | 2019-01-27 17:54:11 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-01-27 20:23:17 +0000 |
commit | ee721412ebd3434bc6dd60f5a78f53a4f6e97667 (patch) | |
tree | be5d65a55fe68d7de55740fed6dfbfaaf3b7e6a7 /src/vppinfra | |
parent | 87c657036a804c1dd20bfc83c665c105fcdda26c (diff) |
Fix issue with cpu_id and numa_code captured too early
Change-Id: I79b213b34c6071d14acf1922f89037a4a5a36c45
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra')
-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 8341eaf0e54..97e0144be60 100644 --- a/src/vppinfra/cpu.h +++ b/src/vppinfra/cpu.h @@ -101,7 +101,7 @@ _ (sha512, 21) \ _ (sve, 22) static inline u32 -clib_get_current_cpu_index () +clib_get_current_cpu_id () { unsigned cpu, node; syscall (__NR_getcpu, &cpu, &node, 0); |