diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2014-05-22 05:20:21 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2014-05-22 05:20:21 +0000 |
commit | e699c2d43856d72c6de40d1a8362aba4582b7b91 (patch) | |
tree | bccd218c92f910e0522599cea9ff6a23b128e111 /sys/powerpc/aim | |
parent | 9993a9886384af1f50f9273ee660fca9787239ea (diff) | |
download | FreeBSD-src-e699c2d43856d72c6de40d1a8362aba4582b7b91.zip FreeBSD-src-e699c2d43856d72c6de40d1a8362aba4582b7b91.tar.gz |
MFC r266116,r266136
A page mask size is 12-bits, not 11.
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r-- | sys/powerpc/aim/trap_subr32.S | 2 | ||||
-rw-r--r-- | sys/powerpc/aim/trap_subr64.S | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/aim/trap_subr32.S b/sys/powerpc/aim/trap_subr32.S index fccca03..0d11ac8 100644 --- a/sys/powerpc/aim/trap_subr32.S +++ b/sys/powerpc/aim/trap_subr32.S @@ -677,7 +677,7 @@ disitrap: mtcr %r31 bt 17,realtrap /* branch is user mode */ mfsprg1 %r31 /* get old SP */ - clrrwi %r31,%r31,11 /* Round SP down to nearest page */ + clrrwi %r31,%r31,12 /* Round SP down to nearest page */ sub. %r30,%r31,%r30 /* SP - DAR */ bge 1f neg %r30,%r30 /* modulo value */ diff --git a/sys/powerpc/aim/trap_subr64.S b/sys/powerpc/aim/trap_subr64.S index 611a0ec..688912e 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 */ |