mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
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>
This commit is contained in:
parent
5358a96341
commit
845ac985cf
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue