X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=crc%2Fcrc32c.h;h=0976261ac61832a9b36e1ab50a93b6c59b60d8f7;hb=2e3bd4c21cc239fbda992a4ede89ebb85f550920;hp=cf1713692b76e82efeb516740d0a1275875c70d1;hpb=3845591fadea480177223e28c9d1c03642d34f0e;p=fio.git diff --git a/crc/crc32c.h b/crc/crc32c.h index cf171369..0976261a 100644 --- a/crc/crc32c.h +++ b/crc/crc32c.h @@ -18,7 +18,14 @@ #ifndef CRC32C_H #define CRC32C_H +#include "../arch/arch.h" + extern uint32_t crc32c(unsigned char const *, unsigned long); + +#ifdef ARCH_HAVE_SSE extern uint32_t crc32c_intel(unsigned char const *, unsigned long); +#else +#define crc32c_intel crc32c +#endif #endif