Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2011 11:56:07 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r219334 - stable/8/sys/sparc64/sparc64
Message-ID:  <201103061156.p26Bu7Vc097298@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sun Mar  6 11:56:07 2011
New Revision: 219334
URL: http://svn.freebsd.org/changeset/base/219334

Log:
  MFC: r218468
  
  Set td_kstack_pages for thread0.

Modified:
  stable/8/sys/sparc64/sparc64/machdep.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/sparc64/sparc64/machdep.c
==============================================================================
--- stable/8/sys/sparc64/sparc64/machdep.c	Sun Mar  6 11:51:39 2011	(r219333)
+++ stable/8/sys/sparc64/sparc64/machdep.c	Sun Mar  6 11:56:07 2011	(r219334)
@@ -548,6 +548,7 @@ sparc64_init(caddr_t mdp, u_long o1, u_l
 	proc0.p_md.md_sigtramp = NULL;
 	proc0.p_md.md_utrap = NULL;
 	thread0.td_kstack = kstack0;
+	thread0.td_kstack_pages = KSTACK_PAGES;
 	thread0.td_pcb = (struct pcb *)
 	    (thread0.td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1;
 	frame0.tf_tstate = TSTATE_IE | TSTATE_PEF | TSTATE_PRIV;



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