diff options
author | Avi Kivity <avi@redhat.com> | 2010-01-21 08:31:50 -0500 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 10:36:04 -0500 |
commit | f6801dff23bd1902473902194667f4ac1eb6ea26 (patch) | |
tree | f0c147b1e5ec8fc67e87e93df08235814f6587cb /arch/x86/kvm/mmu.c | |
parent | 836a1b3c3456042704c86aaa3d837b976de9343b (diff) |
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/mmu.c')
-rw-r--r-- | arch/x86/kvm/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 6f7158f4fbf..599c422c390 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c | |||
@@ -237,7 +237,7 @@ static int is_cpuid_PSE36(void) | |||
237 | 237 | ||
238 | static int is_nx(struct kvm_vcpu *vcpu) | 238 | static int is_nx(struct kvm_vcpu *vcpu) |
239 | { | 239 | { |
240 | return vcpu->arch.shadow_efer & EFER_NX; | 240 | return vcpu->arch.efer & EFER_NX; |
241 | } | 241 | } |
242 | 242 | ||
243 | static int is_shadow_present_pte(u64 pte) | 243 | static int is_shadow_present_pte(u64 pte) |