Whamcloud - gitweb
LU-1461 libcfs: Fix crypto not to use x86 pcmul for non x86 arch
authorOleg Drokin <green@whamcloud.com>
Mon, 9 Jul 2012 18:26:12 +0000 (14:26 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 28 Jul 2012 16:19:08 +0000 (12:19 -0400)
commit67c05929725d99a001ae0036e5f4ae25b01bf938
tree05f5b96e263f92ce3b7a45235dc123e70d9220a1
parent27fe2e8d24e70af2377a52d411d53e332c3a3406
LU-1461 libcfs: Fix crypto not to use x86 pcmul for non x86 arch

Also fix x86 detection in configure.

This fixes a build failure on ppc64:

In file included from user-crypto.c:34:
/var/lib/jenkins/workspace/lustre-ppc-builder/arch/ppc64/
build_type/client/distro/el6/ib_stack/inkernel/BUILD/BUILD/
lustre-2.2.60/libcfs/include/libcfs/user-crypto.h:30:
error: 'regparm' attribute directive ignored

Signed-off-by: Oleg Drokin <green@whamcloud.com>
Change-Id: Icb229a9db0826420ecc431bc7f7f5e45ecbdbd37
Reviewed-on: http://review.whamcloud.com/3361
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
build/autoconf/lustre-build.m4
libcfs/include/libcfs/user-crypto.h