Nicholas Piggin b8e90cb7bc powerpc/64: Convert the syscall exit path to use RFI_TO_USER/KERNEL
In the syscall exit path 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>
2018-01-10 03:07:31 +11:00
..
2017-11-16 12:47:46 -08:00
2016-06-14 13:58:26 +10:00
2017-11-16 12:47:46 -08:00
2016-08-07 23:50:09 -04:00
2016-08-07 23:50:09 -04:00
2017-11-16 12:47:46 -08:00
2017-11-10 20:55:03 +11:00
2016-08-07 23:50:09 -04:00
2017-06-27 17:02:50 -07:00
2017-11-16 12:47:46 -08:00
2017-11-16 12:47:46 -08:00
2017-11-16 12:47:46 -08:00