svn commit: r354273 - stable/12/sys/arm64/arm64
Mark Johnston
markj at FreeBSD.org
Sun Nov 3 02:52:42 UTC 2019
Author: markj
Date: Sun Nov 3 02:52:41 2019
New Revision: 354273
URL: https://svnweb.freebsd.org/changeset/base/354273
Log:
MFC r354215:
Fix a typo in r353895.
Modified:
stable/12/sys/arm64/arm64/machdep.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/arm64/arm64/machdep.c
==============================================================================
--- stable/12/sys/arm64/arm64/machdep.c Sun Nov 3 02:18:45 2019 (r354272)
+++ stable/12/sys/arm64/arm64/machdep.c Sun Nov 3 02:52:41 2019 (r354273)
@@ -704,7 +704,7 @@ init_proc0(vm_offset_t kstack)
thread0.td_kstack = kstack;
thread0.td_kstack_pages = KSTACK_PAGES;
thread0.td_pcb = (struct pcb *)(thread0.td_kstack +
- thread0.td_kstack_pages * KSTACK_PAGES) - 1;
+ thread0.td_kstack_pages * PAGE_SIZE) - 1;
thread0.td_pcb->pcb_fpflags = 0;
thread0.td_pcb->pcb_fpusaved = &thread0.td_pcb->pcb_fpustate;
thread0.td_pcb->pcb_vfpcpu = UINT_MAX;
More information about the svn-src-stable-12
mailing list