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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to