mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-26 12:41:05 +00:00
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.
This commit is contained in:
parent
61a4425dd4
commit
6229aa74fb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user