diff options
author | Thomas Huth <thuth@redhat.com> | 2017-01-25 13:27:22 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-01-27 10:34:28 +0100 |
commit | fcd4f3c6d150357a02af8526e69bfebb82dd5d46 (patch) | |
tree | 309b711e754c9969e7cca480669f63713b89e998 /arch/powerpc/kernel/asm-offsets.c | |
parent | KVM: PPC: Book3S HV: Fix H_PROD to actually wake the target vcpu (diff) | |
download | linux-fcd4f3c6d150357a02af8526e69bfebb82dd5d46.tar.xz linux-fcd4f3c6d150357a02af8526e69bfebb82dd5d46.zip |
KVM: PPC: Book3S PR: Refactor program interrupt related code into separate function
The function kvmppc_handle_exit_pr() is quite huge and thus hard to read,
and even contains a "spaghetti-code"-like goto between the different case
labels of the big switch statement. This can be made much more readable
by moving the code related to injecting program interrupts / instruction
emulation into a separate function instead.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions