diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-02-07 22:56:43 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-02-09 00:02:12 +1100 |
commit | fd3f1e0f139f1314ff97438eebaa1f9d216e10a2 (patch) | |
tree | 218e5c1fd5d3397d8f08fa67eeedac296612d5ed /arch/powerpc/kvm/booke.c | |
parent | 25b7e6bb743ca5a375bb89522a2c2bec840d5fc3 (diff) |
powerpc/traps: factor common code from program check and emulation assist
Move the program check handling into a function called by both, rather
than have the emulation assist handler call the program check handler.
This allows each of these handlers to be implemented with "interrupt
wrappers" in a later change.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1612702475.d6qyt6qtfy.astroid@bobo.none
Diffstat (limited to 'arch/powerpc/kvm/booke.c')
0 files changed, 0 insertions, 0 deletions