aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2021-02-16 22:06:20 +0000
committerMark Johnston <markj@FreeBSD.org>2021-02-16 22:07:56 +0000
commitaa5fef60bf663d31cddf53d7a8c6856d5e4672c0 (patch)
tree418c5af8f10b8530523b25d05f67ee263439dfb7 /sys
parente25db73fea9b641a7dcf29303cf104e0d3847d6c (diff)
downloadsrc-aa5fef60bf663d31cddf53d7a8c6856d5e4672c0.tar.gz
src-aa5fef60bf663d31cddf53d7a8c6856d5e4672c0.zip
linux: Update the i386/linux vdso deinitialization routine
This was missed in commit 0fc8a796722 ("linux: Unmap the VDSO page when unloading"). Reported by: Mark Millard MFC with: 0fc8a796722
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/linux/linux_sysvec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
index 10229d8af57e..ef845675aaa4 100644
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -938,7 +938,8 @@ static void
linux_vdso_deinstall(void *param)
{
- __elfN(linux_shared_page_fini)(linux_shared_page_obj);
+ __elfN(linux_shared_page_fini)(linux_shared_page_obj,
+ linux_shared_page_mapping);
}
SYSUNINIT(elf_linux_vdso_uninit, SI_SUB_EXEC, SI_ORDER_FIRST,
linux_vdso_deinstall, NULL);