examples/performance-thread: fix compilation on Suse 11 SP2
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 24 Apr 2017 13:04:22 +0000 (14:04 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 24 Apr 2017 14:02:20 +0000 (16:02 +0200)
commit1e6d5a960820a377e2453a13c8cd2e6797dc2f76
tree749ba555027d9eadb4f5f52bbfb3b62229b8a774
parent9aba2a3f3d8b2376589b636fe5ef5e8a86ecb0ee
examples/performance-thread: fix compilation on Suse 11 SP2

Fixes following compilation error, using uint64_t type,
instead of int128_t unnecessarily:

In file included from ./common/lthread.c:82:0:
./common/lthread_timer.h: In function ‘_ns_to_clks’:
./common/lthread_timer.h:49:20: error: expected ‘=’, ‘,’, ‘;’,
 ‘asm’ or ‘__attribute__’ before ‘clkns’
compilation terminated due to -Wfatal-errors.

Fixes: 116819b9ed0d ("examples/performance-thread: add lthread subsystem")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
examples/performance-thread/common/lthread_timer.h