svn commit: r219334 - stable/8/sys/sparc64/sparc64

Marius Strobl marius at FreeBSD.org
Sun Mar 6 11:56:08 UTC 2011


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;


More information about the svn-src-stable-8 mailing list