diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2022-01-26 12:18:30 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-02-14 05:53:03 -0800 |
commit | 6229aa74fb47af17744d765cc49dbf94d3cefe12 (patch) | |
tree | 039a7f08de0052bdbdc1e0c3c9857bce1186a8e4 /sysdeps/x86/tst-cpu-features-supports.c | |
parent | 61a4425dd412701f6c3545d8c1acd7e1a378ee8b (diff) | |
download | glibc-6229aa74fb47af17744d765cc49dbf94d3cefe12.tar.gz glibc-6229aa74fb47af17744d765cc49dbf94d3cefe12.tar.xz glibc-6229aa74fb47af17744d765cc49dbf94d3cefe12.zip |
x86: Use CHECK_FEATURE_PRESENT on PCONFIG
PCONFIG is a privileged instruction. Use CHECK_FEATURE_PRESENT, instead of CHECK_FEATURE_ACTIVE, on PCONFIG in tst-cpu-features-supports.c.
Diffstat (limited to 'sysdeps/x86/tst-cpu-features-supports.c')
-rw-r--r-- | sysdeps/x86/tst-cpu-features-supports.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86/tst-cpu-features-supports.c b/sysdeps/x86/tst-cpu-features-supports.c index 9f10f02954..11065b642f 100644 --- a/sysdeps/x86/tst-cpu-features-supports.c +++ b/sysdeps/x86/tst-cpu-features-supports.c @@ -143,7 +143,7 @@ do_test (int argc, char **argv) fails += CHECK_FEATURE_ACTIVE (movdiri, MOVDIRI); fails += CHECK_FEATURE_ACTIVE (movdir64b, MOVDIR64B); fails += CHECK_FEATURE_ACTIVE (osxsave, OSXSAVE); - fails += CHECK_FEATURE_ACTIVE (pconfig, PCONFIG); + fails += CHECK_FEATURE_PRESENT (pconfig, PCONFIG); fails += CHECK_FEATURE_ACTIVE (pku, PKU); #endif fails += CHECK_FEATURE_ACTIVE (popcnt, POPCNT); |