hash: fix crc32 error when built for i686 and run in x86_64
authorMichael Qiu <michael.qiu@intel.com>
Mon, 23 Mar 2015 08:43:07 +0000 (16:43 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 23 Mar 2015 10:53:17 +0000 (11:53 +0100)
commit42a03256321858a576cef1d2c351b1015b3b4bf4
treef3345cc26ae225f599ade3355fde833cb58d2d65
parent98f255ed0a4a73bf785e884dc2069405de840546
hash: fix crc32 error when built for i686 and run in x86_64

When compile target i686 in platform x86_64, the stub function will
be called, and return zero.

Fixes: 12fa4a00788d ("hash: fix unsupported crc instruction in i686 platform")

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_hash/rte_hash_crc.h