projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use intel hardware crc32c where available
[platform/upstream/btrfs-progs.git]
/
crc32c.h
diff --git
a/crc32c.h
b/crc32c.h
index
72f1512
..
27f298a
100644
(file)
--- a/
crc32c.h
+++ b/
crc32c.h
@@
-22,6
+22,7
@@
#include "kerncompat.h"
u32 crc32c_le(u32 seed, unsigned char const *data, size_t length);
+int crc32c_optimization_init(void);
#define crc32c(seed, data, length) crc32c_le(seed, (unsigned char const *)data, length)
#define btrfs_crc32c crc32c