Whamcloud - gitweb
LU-3570 libcfs: accelerate crc32c with pclmulqdq
[fs/lustre-release.git] / libcfs / libcfs / linux / linux-crypto-crc32pclmul.c
index 9a71100..1a609bf 100644 (file)
@@ -173,12 +173,11 @@ static struct shash_alg alg = {
 };
 
 #ifndef X86_FEATURE_PCLMULQDQ
-#define X86_FEATURE_PCLMULQDQ  (4 * 32 + 1)    /* PCLMULQDQ instruction */
+#define X86_FEATURE_PCLMULQDQ  (4*32+1)        /* PCLMULQDQ instruction */
 #endif
 
 int cfs_crypto_crc32_pclmul_register(void)
 {
-
        if (!boot_cpu_has(X86_FEATURE_PCLMULQDQ)) {
                CDEBUG(D_INFO, "PCLMULQDQ-NI instructions are not "
                       "detected.\n");