diff options
author | Tudor Laurentiu <b10716@freescale.com> | 2015-05-18 15:44:27 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-08-22 11:16:17 +0200 |
commit | 845ac985cf8e3d52939dbe2446d91e47e91a07b6 (patch) | |
tree | 7a76df3f1e627ba5570a2d50a734bce8a4084be2 /arch/powerpc/kvm | |
parent | 5358a96341a7fba23cbf0eaf01ce1ab4d738fc90 (diff) |
KVM: PPC: add missing pt_regs initialization
On this switch branch the regs initialization
doesn't happen so add it.
This was found with the help of a static
code analysis tool.
Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r-- | arch/powerpc/kvm/booke.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index cc5842657161..ae458f0fd061 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c @@ -933,6 +933,7 @@ static void kvmppc_restart_interrupt(struct kvm_vcpu *vcpu, #endif break; case BOOKE_INTERRUPT_CRITICAL: + kvmppc_fill_pt_regs(®s); unknown_exception(®s); break; case BOOKE_INTERRUPT_DEBUG: |