Unbreak cpuid check in autoconf
This commit is contained in:
parent
20088ca5e2
commit
394e654c40
@ -328,7 +328,7 @@ unsigned int cpu_info[4];
|
||||
__asm__ __volatile__ ("xchgl %%ebx, %k1; cpuid; xchgl %%ebx, %k1" :
|
||||
"=a" (cpu_info[0]), "=&r" (cpu_info[1]),
|
||||
"=c" (cpu_info[2]), "=d" (cpu_info[3]) :
|
||||
"0" (cpu_info_type), "2" (0U));
|
||||
"0" (0U), "2" (0U));
|
||||
]])],
|
||||
[AC_MSG_RESULT(yes)
|
||||
AC_DEFINE([HAVE_CPUID], [1], [cpuid instruction is available])
|
||||
|
Loading…
Reference in New Issue
Block a user