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
1 changed files with 1 additions and 1 deletions

View File

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