Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2008 18:50:06 GMT
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134735 for review
Message-ID:  <200802031850.m13Io6Xa036306@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134735

Change 134735 by cognet@cognet-mips on 2008/02/03 18:49:20

	grrr, KSTACK_PAGES - 1, not KSTACK_PAGES

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips/vm_machdep.c#15 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips/vm_machdep.c#15 (text+ko) ====

@@ -264,7 +264,7 @@
 		panic("cpu_thread_alloc: invalid segmap");
 	pte += ((vm_offset_t)td->td_md.md_realstack >> PGSHIFT) & (NPTEPG - 1);
 
-	for (i = 0; i < KSTACK_PAGES; i++) {
+	for (i = 0; i < KSTACK_PAGES - 1; i++) {
 		td->td_md.md_upte[i] = *pte & ~(PG_RO|PG_WIRED);
 		pte++;
 	}



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