summaryrefslogtreecommitdiff
path: root/include/linux/crc64.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-01-13 20:36:38 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2019-01-13 20:53:25 -0500
commit47bd483d27ec13418978b24ec5951661d564ba35 (patch)
treefabe089ee891dc1b01ab2f3b7bc8cb1416d3a78a /include/linux/crc64.h
parent0229719228b4bb76d3ead49731d0f2e1308cd310 (diff)
Update bcachefs sources to ef60854e99 bcachefs: More allocator startup improvements
Diffstat (limited to 'include/linux/crc64.h')
-rw-r--r--include/linux/crc64.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/crc64.h b/include/linux/crc64.h
new file mode 100644
index 00000000..c756e65a
--- /dev/null
+++ b/include/linux/crc64.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * See lib/crc64.c for the related specification and polynomial arithmetic.
+ */
+#ifndef _LINUX_CRC64_H
+#define _LINUX_CRC64_H
+
+#include <linux/types.h>
+
+u64 __pure crc64_be(u64 crc, const void *p, size_t len);
+#endif /* _LINUX_CRC64_H */