Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2014 15:17:45 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266136 - head/sys/powerpc/aim
Message-ID:  <201405151517.s4FFHjU2044353@svn.freebsd.org>

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



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