Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144908
b: refs/heads/master
c: e286e86
h: refs/heads/master
v: v3
  • Loading branch information
Avi Kivity committed May 11, 2009
1 parent a31ee80 commit d99628c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 334b8ad7b182fc14d720acd7729afda3ab4c7e3a
refs/heads/master: e286e86e6d2042d67d09244aa0e05ffef75c9d54
4 changes: 2 additions & 2 deletions trunk/arch/x86/kvm/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -1121,9 +1121,9 @@ void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu)

static int is_efer_nx(void)
{
u64 efer;
unsigned long long efer = 0;

rdmsrl(MSR_EFER, efer);
rdmsrl_safe(MSR_EFER, &efer);
return efer & EFER_NX;
}

Expand Down

0 comments on commit d99628c

Please sign in to comment.