Revert "parisc: Fix itlb miss handler for 64-bit programs"
This reverts commit 74ec758daf
.
This commit is contained in:
parent
34c3ff3688
commit
6ea511d384
1 changed files with 4 additions and 2 deletions
|
@ -1071,7 +1071,8 @@ ENTRY_CFI(intr_save) /* for os_hpmc */
|
||||||
STREG %r16, PT_ISR(%r29)
|
STREG %r16, PT_ISR(%r29)
|
||||||
STREG %r17, PT_IOR(%r29)
|
STREG %r17, PT_IOR(%r29)
|
||||||
|
|
||||||
#if defined(CONFIG_64BIT)
|
#if 0 && defined(CONFIG_64BIT)
|
||||||
|
/* Revisit when we have 64-bit code above 4Gb */
|
||||||
b,n intr_save2
|
b,n intr_save2
|
||||||
|
|
||||||
skip_save_ior:
|
skip_save_ior:
|
||||||
|
@ -1079,7 +1080,8 @@ skip_save_ior:
|
||||||
* need to adjust iasq/iaoq here in the same way we adjusted isr/ior
|
* need to adjust iasq/iaoq here in the same way we adjusted isr/ior
|
||||||
* above.
|
* above.
|
||||||
*/
|
*/
|
||||||
bb,COND(>=),n %r8,PSW_W_BIT,intr_save2
|
extrd,u,* %r8,PSW_W_BIT,1,%r1
|
||||||
|
cmpib,COND(=),n 1,%r1,intr_save2
|
||||||
LDREG PT_IASQ0(%r29), %r16
|
LDREG PT_IASQ0(%r29), %r16
|
||||||
LDREG PT_IAOQ0(%r29), %r17
|
LDREG PT_IAOQ0(%r29), %r17
|
||||||
/* adjust iasq/iaoq */
|
/* adjust iasq/iaoq */
|
||||||
|
|
Loading…
Add table
Reference in a new issue