svn commit: r334043 - stable/11/sys/x86/x86
Konstantin Belousov
kib at FreeBSD.org
Tue May 22 14:08:57 UTC 2018
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);
}
More information about the svn-src-stable
mailing list