spinlock: fix build with clang
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 24 Jan 2014 15:29:06 +0000 (16:29 +0100)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:01:14 +0000 (11:01 +0100)
commit73a2bc5dba483a09802ce2af90548672238d3c88
tree8405aab5bd33a65434d3964788648a3e232a2a8f
parentc4eedd9b5362e0bd24af8ac13135ab8caecdca82
spinlock: fix build with clang

LLVM clang requires an explicitly sized "cmp" assembly instruction.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/common/include/rte_spinlock.h