mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-08 18:19:08 +08:00
cpuinfo: fix check for cpuid 0x80000007 support
This commit is contained in:
parent
4c0122f0ad
commit
c64e55ec1c
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user