]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/crypto/isa-l/isa-l_crypto/mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128.c
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / crypto / isa-l / isa-l_crypto / mh_sha1_murmur3_x64_128 / mh_sha1_murmur3_x64_128.c
index 12cb3644dbc6c2d64d27f045cbe2e9313a05ac3a..518adb79788f8908717003b652876b2af6eb4203 100644 (file)
@@ -2,7 +2,7 @@
   Copyright(c) 2011-2016 Intel Corporation All rights reserved.
 
   Redistribution and use in source and binary forms, with or without
-  modification, are permitted provided that the following conditions 
+  modification, are permitted provided that the following conditions
   are met:
     * Redistributions of source code must retain the above copyright
       notice, this list of conditions and the following disclaimer.
@@ -74,6 +74,8 @@ void mh_sha1_murmur3_x64_128_block_base(const uint8_t * input_data,
        return;
 }
 
+#if (!defined(NOARCH)) && (defined(__i386__) || defined(__x86_64__) \
+       || defined( _M_X64) || defined(_M_IX86))
 /***************mh_sha1_murmur3_x64_128_update***********/
 // mh_sha1_murmur3_x64_128_update_sse.c
 #define UPDATE_FUNCTION mh_sha1_murmur3_x64_128_update_sse
@@ -149,3 +151,4 @@ struct slver mh_sha1_murmur3_x64_128_finalize_avx_slver = { 0x0257, 0x00, 0x02 }
 
 struct slver mh_sha1_murmur3_x64_128_finalize_avx2_slver_04000259;
 struct slver mh_sha1_murmur3_x64_128_finalize_avx2_slver = { 0x0259, 0x00, 0x04 };
+#endif