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:
parent
b35e330995
commit
a368b57eca
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue