diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-01-15 07:01:06 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-01-16 11:18:16 -0500 |
commit | 7fe5d2b1daf6fd82857a8d0ee47547d7852ebe7b (patch) | |
tree | d2448d75cf793ea55c849d23bf8beade944e3736 /arch/arm64/mm | |
parent | d67703a8a69eecc8367bb9f848640b9efd430337 (diff) |
arm64/efi: handle potential failure to remap memory map
When remapping the UEFI memory map using ioremap_cache(), we
have to deal with potential failure. Note that, even if the
common case is for ioremap_cache() to return the existing linear
mapping of the memory map, we cannot rely on that to be always the
case, e.g., in the presence of a mem= kernel parameter.
At the same time, remove a stale comment and move the memmap code
together.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm')
0 files changed, 0 insertions, 0 deletions