svn commit: r266136 - head/sys/powerpc/aim

Justin Hibbits jhibbits at FreeBSD.org
Thu May 15 15:17:45 UTC 2014


Author: jhibbits
Date: Thu May 15 15:17:44 2014
New Revision: 266136
URL: http://svnweb.freebsd.org/changeset/base/266136

Log:
  oea64 uses 4k pages, too.
  
  MFC after:	1 week
  X-MFC-with:	r266116

Modified:
  head/sys/powerpc/aim/trap_subr64.S

Modified: head/sys/powerpc/aim/trap_subr64.S
==============================================================================
--- head/sys/powerpc/aim/trap_subr64.S	Thu May 15 15:15:23 2014	(r266135)
+++ head/sys/powerpc/aim/trap_subr64.S	Thu May 15 15:17:44 2014	(r266136)
@@ -585,7 +585,7 @@ disitrap:
 	mtcr	%r31
 	bt	17,realtrap		/* branch is user mode */
 	mfsprg1	%r31			/* get old SP */
-	clrrdi	%r31,%r31,11		/* Round SP down to nearest page */
+	clrrdi	%r31,%r31,12		/* Round SP down to nearest page */
 	sub.	%r30,%r31,%r30		/* SP - DAR */
 	bge	1f
 	neg	%r30,%r30		/* modulo value */


More information about the svn-src-head mailing list