svn commit: r335817 - stable/11/sys/amd64/amd64

Konstantin Belousov kib at FreeBSD.org
Sat Jun 30 14:55:48 UTC 2018


Author: kib
Date: Sat Jun 30 14:55:47 2018
New Revision: 335817
URL: https://svnweb.freebsd.org/changeset/base/335817

Log:
  MFC r333087 (by cem):
  amd64/mp_machdep.c: Fix GCC build after r333059.
  
  Noted by:	bde

Modified:
  stable/11/sys/amd64/amd64/mp_machdep.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/amd64/amd64/mp_machdep.c
==============================================================================
--- stable/11/sys/amd64/amd64/mp_machdep.c	Sat Jun 30 12:51:08 2018	(r335816)
+++ stable/11/sys/amd64/amd64/mp_machdep.c	Sat Jun 30 14:55:47 2018	(r335817)
@@ -255,8 +255,8 @@ init_secondary(void)
 	pc->pc_tssp = &common_tss[cpu];
 	pc->pc_commontssp = &common_tss[cpu];
 	pc->pc_rsp0 = 0;
-	pc->pc_pti_rsp0 = ((vm_offset_t)&pc->pc_pti_stack +
-	    PC_PTI_STACK_SZ * sizeof(uint64_t) & ~0xful);
+	pc->pc_pti_rsp0 = (((vm_offset_t)&pc->pc_pti_stack +
+	    PC_PTI_STACK_SZ * sizeof(uint64_t)) & ~0xful);
 	pc->pc_tss = (struct system_segment_descriptor *)&gdt[NGDT * cpu +
 	    GPROC0_SEL];
 	pc->pc_fs32p = &gdt[NGDT * cpu + GUFS32_SEL];


More information about the svn-src-all mailing list