From: Ard Biesheuvel Date: Thu, 15 Jan 2015 12:01:06 +0000 (+0000) Subject: arm64/efi: handle potential failure to remap memory map X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~117^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fe5d2b1daf6fd82857a8d0ee47547d7852ebe7b;p=pandora-kernel.git 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 Acked-by: Mark Rutland Acked-by: Mark Salter Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed