svn commit: r354215 - head/sys/arm64/arm64
Mark Johnston
markj at FreeBSD.org
Thu Oct 31 14:22:55 UTC 2019
Author: markj
Date: Thu Oct 31 14:22:54 2019
New Revision: 354215
URL: https://svnweb.freebsd.org/changeset/base/354215
Log:
Fix a typo in r353895.
Reported by: andrew
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/arm64/arm64/machdep.c
Modified: head/sys/arm64/arm64/machdep.c
==============================================================================
--- head/sys/arm64/arm64/machdep.c Thu Oct 31 12:03:47 2019 (r354214)
+++ head/sys/arm64/arm64/machdep.c Thu Oct 31 14:22:54 2019 (r354215)
@@ -748,7 +748,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-all
mailing list