Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2019 03:58:29 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r343859 - head/lib/libc/x86/sys
Message-ID:  <201902070358.x173wTj7026633@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902070358.x173wTj7026633>