eal: fix C++ compilation after headers rework
authorDavid Marchand <david.marchand@6wind.com>
Fri, 7 Nov 2014 06:26:20 +0000 (07:26 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 7 Nov 2014 10:57:16 +0000 (11:57 +0100)
commit1c1dc182da4fe345240f431f807b62ddb49ca08e
tree2b7738a13965fb2b9eb959c23939c4ce94b671d2
parentee63ac39f8823410eb67eb571b3a5f0be341f951
eal: fix C++ compilation after headers rework

Following the big headers rework, all C++ stuff has moved to arch-specific
headers. The generic headers should not contain this so that this is done only
once.
There was a remaining #ifdef __cplusplus in "eal: split CPU cycle operation to
architecture specific" (fa4001c30ee9).

Reported-by: Keunhong Lee <dlrmsghd@gmail.com>
Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/common/include/generic/rte_cycles.h