hv: fix typo in relocation code

Fixed a typo in 621425da20 ("hv: further fix to configurable
relocation"). It shoud allocate fixed address if CONFIG_RELOC is
not defined.
This commit is contained in:
Zide Chen 2018-07-23 12:31:27 -07:00 committed by lijinxia
parent b35e330995
commit a368b57eca

View File

@ -268,7 +268,7 @@ EFI_STATUS __emalloc(UINTN size, UINTN min_addr, EFI_PHYSICAL_ADDRESS *addr,
continue; continue;
} }
#ifndef CONFIG_RELOC #ifdef CONFIG_RELOC
aligned = start; aligned = start;
#else #else
aligned = min_addr; aligned = min_addr;