Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2018 14:08:55 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r334043 - stable/11/sys/x86/x86
Message-ID:  <201805221408.w4ME8t8s026520@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue May 22 14:08:54 2018
New Revision: 334043
URL: https://svnweb.freebsd.org/changeset/base/334043

Log:
  MFC r333896:
  Style.
  
  Approved by:	re (marius)

Modified:
  stable/11/sys/x86/x86/cpu_machdep.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/x86/x86/cpu_machdep.c
==============================================================================
--- stable/11/sys/x86/x86/cpu_machdep.c	Tue May 22 13:45:40 2018	(r334042)
+++ stable/11/sys/x86/x86/cpu_machdep.c	Tue May 22 14:08:54 2018	(r334043)
@@ -806,11 +806,11 @@ hw_ibrs_recalculate(void)
 
 	if ((cpu_ia32_arch_caps & IA32_ARCH_CAP_IBRS_ALL) != 0) {
 		if (hw_ibrs_disable) {
-			v= rdmsr(MSR_IA32_SPEC_CTRL);
+			v = rdmsr(MSR_IA32_SPEC_CTRL);
 			v &= ~(uint64_t)IA32_SPEC_CTRL_IBRS;
 			wrmsr(MSR_IA32_SPEC_CTRL, v);
 		} else {
-			v= rdmsr(MSR_IA32_SPEC_CTRL);
+			v = rdmsr(MSR_IA32_SPEC_CTRL);
 			v |= IA32_SPEC_CTRL_IBRS;
 			wrmsr(MSR_IA32_SPEC_CTRL, v);
 		}



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