hv: mmu: rename PTT_HOST to PTT_PRIMARY

Tracked-On: #1124

Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Li, Fei1
2018-08-23 14:19:44 +08:00
committed by lijinxia
parent c102c44c16
commit 58fffcd3b9
5 changed files with 8 additions and 8 deletions

View File

@@ -197,7 +197,7 @@ int general_sw_loader(struct vm *vm, struct vcpu *vcpu)
* reserving. Current strategy is "total_mem_size in Giga -
* remained 1G pages" for reserving.
*/
if (is_vm0(vm) && check_mmu_1gb_support(PTT_HOST)) {
if (is_vm0(vm) && check_mmu_1gb_support(PTT_PRIMARY)) {
int32_t reserving_1g_pages;
#ifdef CONFIG_REMAIN_1G_PAGES