From 0f85ced7992d6abbead0f0f9288ad3708565a71d Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 9 Feb 2018 23:13:24 +0100 Subject: [PATCH] tools-util.c: define generic crc32c on non-x86_64 arch --- tools-util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools-util.c b/tools-util.c index f2ff97d2..41ab7fd3 100644 --- a/tools-util.c +++ b/tools-util.c @@ -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