diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-02-27 11:43:31 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-02-27 11:50:52 -0800 |
commit | 24c8db87c9537469dded474c8ee5da5c988f9c55 (patch) | |
tree | c1fad3c7a781420aba8d4f7aa270d0fc11452723 | |
parent | c23107effbfe5300cee216a401009ebbc6e274f4 (diff) | |
download | glibc-24c8db87c9537469dded474c8ee5da5c988f9c55.zip glibc-24c8db87c9537469dded474c8ee5da5c988f9c55.tar.gz glibc-24c8db87c9537469dded474c8ee5da5c988f9c55.tar.bz2 |
x86: Change ENQCMD test to CHECK_FEATURE_PRESENT
Since ENQCMD is mainly used in kernel, change the ENQCMD test to
CHECK_FEATURE_PRESENT.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
-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 93008da..e270c29 100644 --- a/sysdeps/x86/tst-cpu-features-supports.c +++ b/sysdeps/x86/tst-cpu-features-supports.c @@ -115,7 +115,7 @@ do_test (int argc, char **argv) #if __GNUC_PREREQ (11, 0) fails += CHECK_FEATURE_ACTIVE (cmpxchg16b, CMPXCHG16B); fails += CHECK_FEATURE_ACTIVE (cmpxchg8b, CX8); - fails += CHECK_FEATURE_ACTIVE (enqcmd, ENQCMD); + fails += CHECK_FEATURE_PRESENT (enqcmd, ENQCMD); fails += CHECK_FEATURE_ACTIVE (f16c, F16C); #endif #if __GNUC_PREREQ (4, 9) |