aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2014-05-15 15:17:44 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2014-05-15 15:17:44 +0000
commit46da9e44cced7fefd31446371936fba631504069 (patch)
treecb911c798850358479889b043949062603525f31
parentb3e9732a763de0001eab2b331b635be53c3f32ad (diff)
downloadsrc-46da9e44cced7fefd31446371936fba631504069.tar.gz
src-46da9e44cced7fefd31446371936fba631504069.zip
oea64 uses 4k pages, too.
MFC after: 1 week X-MFC-with: r266116
Notes
Notes: svn path=/head/; revision=266136
-rw-r--r--sys/powerpc/aim/trap_subr64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/trap_subr64.S b/sys/powerpc/aim/trap_subr64.S
index 611a0ec09fc6..688912eb26b0 100644
--- a/sys/powerpc/aim/trap_subr64.S
+++ b/sys/powerpc/aim/trap_subr64.S
@@ -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 */