[SPARC64]: Fix inline assembler in init_irqwork_curcpu().
'tmp' cannot be a global register, because we are going
into the interrupt globals by writing to pstate.
Since we did not specify any particular register, gcc
could use anything, and in fact because of this I am
surprised we did not hit this bug earlier.
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment