From: Lai Jiangshan Date: Fri, 11 Feb 2011 06:29:40 +0000 (+0800) Subject: KVM: VMX: add the __noclone attribute to vmx_vcpu_run X-Git-Tag: v2.6.39-rc1~436^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3b5ba49a8c58d9a578e016523b047467a41e047;p=platform%2Fkernel%2Flinux-exynos.git KVM: VMX: add the __noclone attribute to vmx_vcpu_run The changelog of 104f226 said "adds the __noclone attribute", but it was missing in its patch. I think it is still needed. Signed-off-by: Lai Jiangshan Acked-by: Andi Kleen Signed-off-by: Marcelo Tosatti --- diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index f76137c..a61ed93 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -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);