Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 845ac985 authored by Tudor Laurentiu's avatar Tudor Laurentiu Committed by Alexander Graf
Browse files

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: default avatarLaurentiu Tudor <Laurentiu.Tudor@freescale.com>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 5358a963
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -933,6 +933,7 @@ static void kvmppc_restart_interrupt(struct kvm_vcpu *vcpu,
#endif
		break;
	case BOOKE_INTERRUPT_CRITICAL:
		kvmppc_fill_pt_regs(&regs);
		unknown_exception(&regs);
		break;
	case BOOKE_INTERRUPT_DEBUG: