Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2019 02:52:41 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r354273 - stable/12/sys/arm64/arm64
Message-ID:  <201911030252.xA32qfHU004839@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911030252.xA32qfHU004839>