mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
tools-util.c: define generic crc32c on non-x86_64 arch
This commit is contained in:
parent
71c55882fa
commit
0f85ced799
@ -530,6 +530,8 @@ static u32 crc32c_sse42(u32 crc, const void *buf, size_t size)
|
||||
return crc;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static void *resolve_crc32c(void)
|
||||
{
|
||||
__builtin_cpu_init();
|
||||
@ -632,5 +634,3 @@ found:
|
||||
free(line);
|
||||
return ret;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user