diff options
author | Avi Kivity <avi@redhat.com> | 2010-01-21 15:31:50 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 12:36:04 -0300 |
commit | f6801dff23bd1902473902194667f4ac1eb6ea26 (patch) | |
tree | f0c147b1e5ec8fc67e87e93df08235814f6587cb /arch/x86/kvm/x86.h | |
parent | 836a1b3c3456042704c86aaa3d837b976de9343b (diff) | |
download | blackbird-op-linux-f6801dff23bd1902473902194667f4ac1eb6ea26.tar.gz blackbird-op-linux-f6801dff23bd1902473902194667f4ac1eb6ea26.zip |
KVM: Rename vcpu->shadow_efer to efer
None of the other registers have the shadow_ prefix.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.h')
-rw-r--r-- | arch/x86/kvm/x86.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.h b/arch/x86/kvm/x86.h index 2dc24a755b6d..2d101639bd8d 100644 --- a/arch/x86/kvm/x86.h +++ b/arch/x86/kvm/x86.h @@ -44,7 +44,7 @@ static inline bool is_protmode(struct kvm_vcpu *vcpu) static inline int is_long_mode(struct kvm_vcpu *vcpu) { #ifdef CONFIG_X86_64 - return vcpu->arch.shadow_efer & EFER_LMA; + return vcpu->arch.efer & EFER_LMA; #else return 0; #endif |