summarylogtreecommitdiffstats
path: root/crc64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'crc64.patch')
-rw-r--r--crc64.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/crc64.patch b/crc64.patch
new file mode 100644
index 000000000000..511c376f3e95
--- /dev/null
+++ b/crc64.patch
@@ -0,0 +1,11 @@
+--- a/bcache.c
++++ b/bcache.c
+@@ -115,7 +115,7 @@ static const uint64_t crc_table[256] = {
+ 0x9AFCE626CE85B507ULL
+ };
+
+-inline uint64_t crc64(const void *_data, size_t len)
++uint64_t crc64(const void *_data, size_t len)
+ {
+ uint64_t crc = 0xFFFFFFFFFFFFFFFFULL;
+ const unsigned char *data = _data;