vppinfra: remove linux/syscall.h

For portabiliy reasons it is better to have all wrapped in clib code.
I.e. instead of using getcpu() we have clib_get_current_numa_node () and
clib_get_current_cpu_id().

Type: refactor
Change-Id: I29b52d7f29bc7f93873402c4070561f564b71c63
Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
Damjan Marion
2020-10-09 17:16:55 +02:00
parent 30a819579c
commit f8cb70177f
14 changed files with 51 additions and 165 deletions

View File

@ -11,8 +11,6 @@ ${CC:-cc} \
-static \
-I ${src} \
-I ${tmp} \
-DHAVE_MEMFD_CREATE \
-DHAVE_GETCPU \
${src}/vppinfra/backtrace.c \
${src}/vppinfra/dlmalloc.c \
${src}/vppinfra/elf.c \