Whamcloud - gitweb
LU-5577 libcfs: fix warnings in libcfs/curproc.h
[fs/lustre-release.git] / libcfs / include / libcfs / user-crypto.h
index 9f928e6..4e76e7f 100644 (file)
 /*
  * Copyright 2012 Xyratex Technology Limited
  *
+ * Copyright (c) 2012, Intel Corporation.
+ *
  */
 
+#if (defined i386) || (defined __amd64__)
 unsigned int crc32_pclmul_le_16(unsigned char const *buffer, size_t len,
                                unsigned int crc32) __attribute__((regparm(3)));
 
@@ -33,3 +36,4 @@ unsigned int crc32_pclmul_le(unsigned int crc, unsigned char const *p,
                             size_t len);
 
 int crc32_pclmul_init(void);
+#endif