Date: Sat, 30 Jun 2018 14:55:47 +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: r335817 - stable/11/sys/amd64/amd64 Message-ID: <201806301455.w5UEtlPN086422@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806301455.w5UEtlPN086422>