Whamcloud - gitweb
LU-6401 uapi: migrate remaining uapi headers to uapi directory
[fs/lustre-release.git] / libcfs / libcfs / linux / linux-crypto-crc32pclmul.c
index 1a609bf..a238e4e 100644 (file)
 #include <crypto/internal/hash.h>
 #include <linux/crc32.h>
 #include <asm/cpufeature.h>
+#ifdef HAVE_FPU_API_HEADER
+#include <asm/fpu/api.h>
+#else
 #include <asm/i387.h>
+#endif
 #include <libcfs/libcfs.h>
 
 #define CHKSUM_BLOCK_SIZE      1
@@ -179,8 +183,7 @@ static struct shash_alg alg = {
 int cfs_crypto_crc32_pclmul_register(void)
 {
        if (!boot_cpu_has(X86_FEATURE_PCLMULQDQ)) {
-               CDEBUG(D_INFO, "PCLMULQDQ-NI instructions are not "
-                      "detected.\n");
+               CDEBUG(D_INFO, "PCLMULQDQ-NI instructions are not detected.\n");
                return -ENODEV;
        }
        return crypto_register_shash(&alg);