summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/mongodb/mongodb/disable-hw-crc32-on-arm64-s390x.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-dbs/mongodb/mongodb/disable-hw-crc32-on-arm64-s390x.patch')
-rw-r--r--meta-oe/recipes-dbs/mongodb/mongodb/disable-hw-crc32-on-arm64-s390x.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-dbs/mongodb/mongodb/disable-hw-crc32-on-arm64-s390x.patch b/meta-oe/recipes-dbs/mongodb/mongodb/disable-hw-crc32-on-arm64-s390x.patch
index 5c5c20ce3..23d4923d2 100644
--- a/meta-oe/recipes-dbs/mongodb/mongodb/disable-hw-crc32-on-arm64-s390x.patch
+++ b/meta-oe/recipes-dbs/mongodb/mongodb/disable-hw-crc32-on-arm64-s390x.patch
@@ -5,7 +5,7 @@ Index: git/src/third_party/wiredtiger/SConscript
5=================================================================== 5===================================================================
6--- git.orig/src/third_party/wiredtiger/SConscript 6--- git.orig/src/third_party/wiredtiger/SConscript
7+++ git/src/third_party/wiredtiger/SConscript 7+++ git/src/third_party/wiredtiger/SConscript
8@@ -169,7 +169,9 @@ if useSnappy: 8@@ -181,7 +181,9 @@ if useSnappy:
9 # If not available at runtime, we fall back to software in some cases. 9 # If not available at runtime, we fall back to software in some cases.
10 # 10 #
11 # On zSeries we may disable because SLES 11 kernel doe not support the instructions. 11 # On zSeries we may disable because SLES 11 kernel doe not support the instructions.
@@ -32,7 +32,7 @@ Index: git/src/third_party/wiredtiger/src/checksum/zseries/crc32-s390x.c
32=================================================================== 32===================================================================
33--- git.orig/src/third_party/wiredtiger/src/checksum/zseries/crc32-s390x.c 33--- git.orig/src/third_party/wiredtiger/src/checksum/zseries/crc32-s390x.c
34+++ git/src/third_party/wiredtiger/src/checksum/zseries/crc32-s390x.c 34+++ git/src/third_party/wiredtiger/src/checksum/zseries/crc32-s390x.c
35@@ -78,6 +78,7 @@ unsigned int __wt_crc32c_le(unsigned int 35@@ -77,6 +77,7 @@ unsigned int __wt_crc32c_le(unsigned int
36 return crc; \ 36 return crc; \
37 } 37 }
38 38
@@ -40,7 +40,7 @@ Index: git/src/third_party/wiredtiger/src/checksum/zseries/crc32-s390x.c
40 /* Main CRC-32 functions */ 40 /* Main CRC-32 functions */
41 DEFINE_CRC32_VX(__wt_crc32c_le_vx, __wt_crc32c_le_vgfm_16, __wt_crc32c_le) 41 DEFINE_CRC32_VX(__wt_crc32c_le_vx, __wt_crc32c_le_vgfm_16, __wt_crc32c_le)
42 42
43@@ -90,6 +91,7 @@ __wt_checksum_hw(const void *chunk, size 43@@ -89,6 +90,7 @@ __wt_checksum_hw(const void *chunk, size
44 { 44 {
45 return (~__wt_crc32c_le_vx(0xffffffff, chunk, len)); 45 return (~__wt_crc32c_le_vx(0xffffffff, chunk, len));
46 } 46 }