From feebef55c2317813d83aad8ae1afc57eabf9e66c Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 15 Dec 2005 16:30:41 +0000 Subject: 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 --- sys/alpha/linux/linux_sysvec.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/alpha/linux') diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c index b6ce778..4ec2957 100644 --- a/sys/alpha/linux/linux_sysvec.c +++ b/sys/alpha/linux/linux_sysvec.c @@ -265,7 +265,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; -- cgit v1.1