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

Commit a3b5ba49 authored by Lai Jiangshan's avatar Lai Jiangshan Committed by Marcelo Tosatti
Browse files

KVM: VMX: add the __noclone attribute to vmx_vcpu_run



The changelog of 104f226b said "adds the __noclone attribute",
but it was missing in its patch. I think it is still needed.

Signed-off-by: default avatarLai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: default avatarAndi Kleen <ak@linux.intel.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent 038f8c11
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3999,7 +3999,7 @@ static void vmx_cancel_injection(struct kvm_vcpu *vcpu)
#define Q "l"
#endif

static void vmx_vcpu_run(struct kvm_vcpu *vcpu)
static void __noclone vmx_vcpu_run(struct kvm_vcpu *vcpu)
{
	struct vcpu_vmx *vmx = to_vmx(vcpu);