summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux_sysvec.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-12-15 16:30:41 +0000
committerjhb <jhb@FreeBSD.org>2005-12-15 16:30:41 +0000
commitfeebef55c2317813d83aad8ae1afc57eabf9e66c (patch)
tree9ff4a437747bbe0b48bd25f41d4235f7b041fd28 /sys/i386/linux/linux_sysvec.c
parent3abe21faf25d6ec4ac2be98d89714858d87f7203 (diff)
downloadFreeBSD-src-feebef55c2317813d83aad8ae1afc57eabf9e66c.zip
FreeBSD-src-feebef55c2317813d83aad8ae1afc57eabf9e66c.tar.gz
Remove linux_mib_destroy() (which I actually added in between 5.0 and 5.1)
which existed to cleanup the linux_osname mutex. Now that MTX_SYSINIT() has grown a SYSUNINIT to destroy mutexes on unload, the extra destroy here was redundant and resulted in panics in debug kernels. MFC after: 1 week Reported by: Goran Gajic ggajic at afrodita dot rcub dot bg dot ac dot yu
Diffstat (limited to 'sys/i386/linux/linux_sysvec.c')
-rw-r--r--sys/i386/linux/linux_sysvec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
index e2df7f6..f28371d 100644
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -925,7 +925,6 @@ linux_elf_modevent(module_t mod, int type, void *data)
linux_ioctl_unregister_handler(*lihp);
if (bootverbose)
printf("Linux ELF exec handler removed\n");
- linux_mib_destroy();
} else
printf("Could not deinstall ELF interpreter entry\n");
break;
OpenPOWER on IntegriCloud