From: Xiao Guangrong Date: Mon, 15 Jun 2015 08:55:26 +0000 (+0800) Subject: KVM: MTRR: clean up mtrr default type X-Git-Tag: omap-for-v4.3/legacy-v2-signed~167^2~19 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10fac2dc2b3b549d371d67f57193362b6bcc6dfd;p=pandora-kernel.git KVM: MTRR: clean up mtrr default type Drop kvm_mtrr->enable, omit the decode/code workload and get rid of all the hard code Signed-off-by: Xiao Guangrong Signed-off-by: Paolo Bonzini --- diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index fe9cbe49e272..8d43006a6df0 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -345,8 +345,7 @@ enum { struct kvm_mtrr { struct mtrr_var_range var_ranges[KVM_NR_VAR_MTRR]; mtrr_type fixed_ranges[KVM_NR_FIXED_MTRR_REGION]; - unsigned char enabled; - mtrr_type def_type; + u64 deftype; }; struct kvm_vcpu_arch { Reading git-diff-tree failed