eal/x86: fix FreeBSD build
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Fri, 13 Oct 2017 13:08:12 +0000 (14:08 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 13:20:50 +0000 (15:20 +0200)
commitea39ca97d2528d235f9cfe1c0338a39e79a8a891
tree030d75a02b7d801880d3cec482a195e489ae21d6
parentad3516bb4ae199cb4e7b668da34192d40caf6121
eal/x86: fix FreeBSD build

lib/librte_eal/common/arch/x86/rte_cycles.c: In function 'rdmsr':
lib/librte_eal/common/arch/x86/rte_cycles.c:57:11:
error: unused parameter 'msr' [-Werror=unused-parameter]
 rdmsr(int msr, uint64_t *val)
           ^
lib/librte_eal/common/arch/x86/rte_cycles.c:57:26:
error: unused parameter 'val' [-Werror=unused-parameter]
 rdmsr(int msr, uint64_t *val)
                          ^
Fixes: ad3516bb4ae1 ("eal/x86: implement arch-specific TSC freq query")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
lib/librte_eal/common/arch/x86/rte_cycles.c