Catch up to latest KSE changes
This commit is contained in:
parent
df6dcedf16
commit
e2a3993041
@ -690,9 +690,10 @@ CNAME(trapexit):
|
||||
|
||||
mfsprg 3, 0 /* get per-CPU pointer */
|
||||
lwz 4, PC_CURTHREAD(3) /* deref to get curthread */
|
||||
lwz 3, TD_KSE(4) /* deref to get current KSE */
|
||||
lwz 4, KE_FLAGS(3) /* get KSE flags value */
|
||||
andi. 4,4,KEF_ASTPENDING|KEF_NEEDRESCHED
|
||||
lwz 4, TD_FLAGS(3) /* get thread flags value */
|
||||
lis 5, (TDF_ASTPENDING|TDF_NEEDRESCHED)@h
|
||||
oris 5,5, (TDF_ASTPENDING|TDF_NEEDRESCHED)@l
|
||||
and. 4,4,5
|
||||
beq 1f
|
||||
mfmsr 3 /* re-enable interrupts */
|
||||
ori 3,3,PSL_EE@l
|
||||
|
@ -690,9 +690,10 @@ CNAME(trapexit):
|
||||
|
||||
mfsprg 3, 0 /* get per-CPU pointer */
|
||||
lwz 4, PC_CURTHREAD(3) /* deref to get curthread */
|
||||
lwz 3, TD_KSE(4) /* deref to get current KSE */
|
||||
lwz 4, KE_FLAGS(3) /* get KSE flags value */
|
||||
andi. 4,4,KEF_ASTPENDING|KEF_NEEDRESCHED
|
||||
lwz 4, TD_FLAGS(3) /* get thread flags value */
|
||||
lis 5, (TDF_ASTPENDING|TDF_NEEDRESCHED)@h
|
||||
oris 5,5, (TDF_ASTPENDING|TDF_NEEDRESCHED)@l
|
||||
and. 4,4,5
|
||||
beq 1f
|
||||
mfmsr 3 /* re-enable interrupts */
|
||||
ori 3,3,PSL_EE@l
|
||||
|
Loading…
Reference in New Issue
Block a user