svn commit: r343859 - head/lib/libc/x86/sys
Konstantin Belousov
kib at FreeBSD.org
Thu Feb 7 03:58:30 UTC 2019
Author: kib
Date: Thu Feb 7 03:58:29 2019
New Revision: 343859
URL: https://svnweb.freebsd.org/changeset/base/343859
Log:
Add comment noting that the strange spelling of GenuineIntel is for reason.
Requested by: rpokala
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/lib/libc/x86/sys/__vdso_gettc.c
Modified: head/lib/libc/x86/sys/__vdso_gettc.c
==============================================================================
--- head/lib/libc/x86/sys/__vdso_gettc.c Thu Feb 7 03:55:05 2019 (r343858)
+++ head/lib/libc/x86/sys/__vdso_gettc.c Thu Feb 7 03:58:29 2019 (r343859)
@@ -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)
More information about the svn-src-all
mailing list