commit | a08f828cf47e6c605af21d2cdec68f84e799c318 | [log] [tgz] |
---|---|---|
author | Nicholas Piggin <npiggin@gmail.com> | Wed Jan 10 03:07:15 2018 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Jan 10 03:07:32 2018 +1100 |
tree | 348e809ca069dfcb7b570fa00490ddbc3e830c1e | |
parent | b8e90cb7bc04a509e821e82ab6ed7a8ef11ba333 [diff] |
powerpc/64: Convert fast_exception_return to use RFI_TO_USER/KERNEL Similar to the syscall return path, in fast_exception_return we may be returning to user or kernel context. We already have a test for that, because we conditionally restore r13. So use that existing test and branch, and bifurcate the return based on that. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>