# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
# Use is subject to license terms.
#
-# Copyright (c) 2012, Whamcloud, Inc.
+# Copyright (c) 2012, Intel Corporation.
#
#
posix/rbtree.c user-crypto.c posix/posix-crc32.c \
posix/posix-adler.c heap.c
-if ARCH_x86
-libcfs_a_SOURCES += user-crc32pclmul.c crc32-pclmul_asm.S
+if HAVE_PCLMULQDQ
+if NEED_PCLMULQDQ_CRC32
+libcfs_a_SOURCES += user-crc32pclmul.c linux/crc32-pclmul_asm.S
+endif
endif
libcfs_a_CPPFLAGS = $(LLCPPFLAGS)