aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2011-02-11 01:29:40 -0500
committerMarcelo Tosatti <mtosatti@redhat.com>2011-03-17 12:08:31 -0400
commita3b5ba49a8c58d9a578e016523b047467a41e047 (patch)
treef9dc04f7bc84542a6329825fb4fc1828860b10e3 /arch/x86
parent038f8c110eace38d7598e271835ae96ad04a3a26 (diff)
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 <laijs@cn.fujitsu.com> Acked-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kvm/vmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index f76137ce71c6..a61ed93a1f25 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)
3999#define Q "l" 3999#define Q "l"
4000#endif 4000#endif
4001 4001
4002static void vmx_vcpu_run(struct kvm_vcpu *vcpu) 4002static void __noclone vmx_vcpu_run(struct kvm_vcpu *vcpu)
4003{ 4003{
4004 struct vcpu_vmx *vmx = to_vmx(vcpu); 4004 struct vcpu_vmx *vmx = to_vmx(vcpu);
4005 4005