diff options
Diffstat (limited to 'drivers/kvm/mmu.c')
-rw-r--r-- | drivers/kvm/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/mmu.c b/drivers/kvm/mmu.c index 23965aa5ee78..75faef4fb086 100644 --- a/drivers/kvm/mmu.c +++ b/drivers/kvm/mmu.c | |||
@@ -158,7 +158,7 @@ static struct kmem_cache *mmu_page_header_cache; | |||
158 | 158 | ||
159 | static int is_write_protection(struct kvm_vcpu *vcpu) | 159 | static int is_write_protection(struct kvm_vcpu *vcpu) |
160 | { | 160 | { |
161 | return vcpu->cr0 & CR0_WP_MASK; | 161 | return vcpu->cr0 & X86_CR0_WP; |
162 | } | 162 | } |
163 | 163 | ||
164 | static int is_cpuid_PSE36(void) | 164 | static int is_cpuid_PSE36(void) |