aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/x86/sys/__vdso_gettc.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2019-02-07 03:58:29 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2019-02-07 03:58:29 +0000
commitfd90aeaabdcbc9326a27658102db979c04f09b10 (patch)
tree3dd78efc81ebc091c7783073799beddd8dc114a8 /lib/libc/x86/sys/__vdso_gettc.c
parentad66f958656d19767d47b628ef3cfce79fd4045d (diff)
downloadsrc-fd90aeaabdcbc9326a27658102db979c04f09b10.tar.gz
src-fd90aeaabdcbc9326a27658102db979c04f09b10.zip
Add comment noting that the strange spelling of GenuineIntel is for reason.
Requested by: rpokala Sponsored by: The FreeBSD Foundation MFC after: 1 week
Notes
Notes: svn path=/head/; revision=343859
Diffstat (limited to 'lib/libc/x86/sys/__vdso_gettc.c')
-rw-r--r--lib/libc/x86/sys/__vdso_gettc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/x86/sys/__vdso_gettc.c b/lib/libc/x86/sys/__vdso_gettc.c
index f8ca90bc5746..3a56b4af7bd9 100644
--- a/lib/libc/x86/sys/__vdso_gettc.c
+++ b/lib/libc/x86/sys/__vdso_gettc.c
@@ -100,6 +100,7 @@ rdtsc_mb_none(void)
DEFINE_UIFUNC(static, void, rdtsc_mb, (void), static)
{
u_int p[4];
+ /* Not a typo, string matches our cpuidp() registers use. */
static const char intel_id[] = "GenuntelineI";
if ((cpu_feature & CPUID_SSE2) == 0)