summaryrefslogtreecommitdiffstats
path: root/sys/sys/libkern.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/libkern.h')
-rw-r--r--sys/sys/libkern.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/libkern.h b/sys/sys/libkern.h
index a960df8..b622dd8 100644
--- a/sys/sys/libkern.h
+++ b/sys/sys/libkern.h
@@ -182,6 +182,9 @@ calculate_crc32c(uint32_t crc32c, const unsigned char *buffer,
#if defined(__amd64__) || defined(__i386__)
uint32_t sse42_crc32c(uint32_t, const unsigned char *, unsigned);
#endif
+#if defined(__aarch64__)
+uint32_t armv8_crc32c(uint32_t, const unsigned char *, unsigned int);
+#endif
#endif
OpenPOWER on IntegriCloud