diff options
author | Keir Fraser <keir@xen.org> | 2012-09-12 13:59:26 +0100 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2012-09-12 13:59:26 +0100 |
commit | 218adf199e6868eb4a15644a63e6991ede1613bc (patch) | |
tree | faa5070fb10dee2354b8c753385e10fc32668a2d /xen/arch/x86/hvm/svm | |
parent | 5d1181a5ea5e0f11d481a94b16ed00d883f9726e (diff) | |
download | xen-218adf199e6868eb4a15644a63e6991ede1613bc.tar.gz xen-218adf199e6868eb4a15644a63e6991ede1613bc.tar.bz2 xen-218adf199e6868eb4a15644a63e6991ede1613bc.zip |
x86: We can assume CONFIG_PAGING_LEVELS==4.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/hvm/svm')
-rw-r--r-- | xen/arch/x86/hvm/svm/svm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xen/arch/x86/hvm/svm/svm.c b/xen/arch/x86/hvm/svm/svm.c index 505d800c8e..d1db72ca4f 100644 --- a/xen/arch/x86/hvm/svm/svm.c +++ b/xen/arch/x86/hvm/svm/svm.c @@ -1285,8 +1285,7 @@ struct hvm_function_table * __init start_svm(void) svm_function_table.hap_supported = cpu_has_svm_npt; svm_function_table.hap_capabilities = HVM_HAP_SUPERPAGE_2MB | - (((CONFIG_PAGING_LEVELS == 4) && (cpuid_edx(0x80000001) & 0x04000000)) ? - HVM_HAP_SUPERPAGE_1GB : 0); + ((cpuid_edx(0x80000001) & 0x04000000) ? HVM_HAP_SUPERPAGE_1GB : 0); return &svm_function_table; } |