https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=a8d99824bad67ebb855f53b32091d9cd253ebfc7
commit a8d99824bad67ebb855f53b32091d9cd253ebfc7 Author: Brian Inglis <[email protected]> Date: Wed Feb 17 09:28:35 2021 -0700 cpuinfo: fix check for cpuid 0x80000007 support Diff: --- winsup/cygwin/fhandler_proc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 8e23c0609..d4c8613eb 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwin/fhandler_proc.cc @@ -1293,7 +1293,7 @@ format_proc_cpuinfo (void *, char *&destbuf) /* features scattered in various CPUID levels. */ /* cpuid 0x80000007 edx */ - if (maxf >= 0x00000007) + if (maxe >= 0x80000007) { cpuid (&unused, &unused, &unused, &features1, 0x80000007);
