[PATCH 1/3] KVM: VMX: Make lto-friendly

2012-09-16 Thread Avi Kivity
LTO (link-time optimization) doesn't like local labels to be referred to from a different function, since the two functions may be built in separate compilation units. Use an external variable instead. Signed-off-by: Avi Kivity a...@redhat.com --- arch/x86/kvm/vmx.c | 17 +++-- 1

[PATCH 1/3] KVM: VMX: Make lto-friendly

2012-09-12 Thread Avi Kivity
LTO (link-time optimization) doesn't like local labels to be referred to from a different function, since the two functions may be built in separate compilation units. Use an external variable instead. Signed-off-by: Avi Kivity a...@redhat.com --- arch/x86/kvm/vmx.c | 16 ++-- 1