eal: fix C++ include
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 10 Feb 2022 15:42:33 +0000 (15:42 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 10 Feb 2022 22:02:35 +0000 (23:02 +0100)
commit59144f6edd884bfc392143b60bf4d0f082053784
tree54c091220479fafb8c9cddc0a14c63a1f7b35c91
parent4efec50c7a56a0c9f683b5ccf4db289ca01b600b
eal: fix C++ include

C++ files could not include some headers because:

* "new" is a keyword in C++, so can't be a variable name
* there is no automatic casting to/from void *

Fixes: 184104fc6121 ("ticketlock: introduce fair ticket based locking")
Fixes: 032a7e5499a0 ("trace: implement provider payload")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
lib/eal/include/generic/rte_ticketlock.h
lib/eal/include/rte_trace_point.h