summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-02-20 17:29:04 +0000
committerandrew <andrew@FreeBSD.org>2016-02-20 17:29:04 +0000
commitb01ee87c2b5517e378371d46e9b635dab4fa15a5 (patch)
tree83496c8415742b907101e81b02d6ff5ecc66e6e7
parent9b01734b012a01764d2995c361ed8a153da472e5 (diff)
downloadFreeBSD-src-b01ee87c2b5517e378371d46e9b635dab4fa15a5.zip
FreeBSD-src-b01ee87c2b5517e378371d46e9b635dab4fa15a5.tar.gz
Add a missing call to dev_cleanup from the arm64 loader.efi.
Sponsored by: ABT Systems Ltd
-rw-r--r--sys/boot/efi/loader/arch/arm64/exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/efi/loader/arch/arm64/exec.c b/sys/boot/efi/loader/arch/arm64/exec.c
index a0f8b83..eb1830c 100644
--- a/sys/boot/efi/loader/arch/arm64/exec.c
+++ b/sys/boot/efi/loader/arch/arm64/exec.c
@@ -117,6 +117,8 @@ elf64_exec(struct preloaded_file *fp)
if (err != 0)
return (err);
+ dev_cleanup();
+
/* Clean D-cache under kernel area and invalidate whole I-cache */
clean_addr = (vm_offset_t)efi_translate(fp->f_addr);
clean_size = (vm_offset_t)efi_translate(kernendp) - clean_addr;
OpenPOWER on IntegriCloud