powerpc/dtrace: Use explicit bit numbers to mask out PSL_EE
There seems to be a race in CI, such that dtrace_asm.S might be assembled before the genassym is completed. This causes a build failure when PSL_EE doesn't exist, and is read as 0. Get around this by explicitly specifying the bits in the mask instead.
This commit is contained in:
parent
8e1887fa1a
commit
97a9d3b5c5
@ -72,7 +72,7 @@ ASENTRY_NOPROF(dtrace_interrupt_disable)
|
||||
rldicl %r0,%r3,48,1
|
||||
rotldi %r0,%r0,16
|
||||
#else
|
||||
rlwinm %r0,%r3,0,~PSL_EE /* Clear EE flag */
|
||||
rlwinm %r0,%r3,0,17,15 /* Clear EE flag */
|
||||
#endif
|
||||
mtmsr %r0
|
||||
blr
|
||||
|
Loading…
x
Reference in New Issue
Block a user