aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-01-26 12:18:21 -0800
committerH.J. Lu <hjl.tools@gmail.com>2022-02-14 05:53:03 -0800
commit61a4425dd412701f6c3545d8c1acd7e1a378ee8b (patch)
tree630db81be60125853a8606a75d40aa74b8887565 /sysdeps/x86
parent7912236f4a597deb092650ca79f33504ddb4af28 (diff)
downloadglibc-61a4425dd412701f6c3545d8c1acd7e1a378ee8b.zip
glibc-61a4425dd412701f6c3545d8c1acd7e1a378ee8b.tar.gz
glibc-61a4425dd412701f6c3545d8c1acd7e1a378ee8b.tar.bz2
x86: Don't check PTWRITE in tst-cpu-features-cpuinfo.c
Don't check PTWRITE against /proc/cpuinfo since kernel doesn't report PTWRITE in /proc/cpuinfo.
Diffstat (limited to 'sysdeps/x86')
-rw-r--r--sysdeps/x86/tst-cpu-features-cpuinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/x86/tst-cpu-features-cpuinfo.c b/sysdeps/x86/tst-cpu-features-cpuinfo.c
index 91a656b..981b2be 100644
--- a/sysdeps/x86/tst-cpu-features-cpuinfo.c
+++ b/sysdeps/x86/tst-cpu-features-cpuinfo.c
@@ -218,7 +218,10 @@ do_test (int argc, char **argv)
fails += CHECK_PROC (popcnt, POPCNT);
fails += CHECK_PROC (3dnowprefetch, PREFETCHW);
fails += CHECK_PROC (prefetchwt1, PREFETCHWT1);
+#if 0
+ /* NB: /proc/cpuinfo doesn't report this feature. */
fails += CHECK_PROC (ptwrite, PTWRITE);
+#endif
fails += CHECK_PROC (pse, PSE);
fails += CHECK_PROC (pse36, PSE_36);
fails += CHECK_PROC (psn, PSN);