X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=crc%2Fcrc32c-intel.c;h=8e1cd587dcec85adc2a75ec4bd824e75457514b5;hb=fa80feae;hp=8a6e6dcefb749b41ed5ecddb7035ae6a8c247adf;hpb=e3aaafc4e902a0f78b8ee4d4bc85f8edac6e09d2;p=fio.git diff --git a/crc/crc32c-intel.c b/crc/crc32c-intel.c index 8a6e6dce..8e1cd587 100644 --- a/crc/crc32c-intel.c +++ b/crc/crc32c-intel.c @@ -78,22 +78,6 @@ uint32_t crc32c_intel(unsigned char const *data, unsigned long length) return crc; } -static void do_cpuid(unsigned int *eax, unsigned int *ebx, unsigned int *ecx, - unsigned int *edx) -{ - int id = *eax; - - asm("movl %4, %%eax;" - "cpuid;" - "movl %%eax, %0;" - "movl %%ebx, %1;" - "movl %%ecx, %2;" - "movl %%edx, %3;" - : "=r" (*eax), "=r" (*ebx), "=r" (*ecx), "=r" (*edx) - : "r" (id) - : "eax", "ebx", "ecx", "edx"); -} - void crc32c_intel_probe(void) { if (!crc32c_probed) {