PERFORCE change 88178 for review
John Baldwin
jhb at FreeBSD.org
Wed Dec 14 08:04:21 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=88178
Change 88178 by jhb at jhb_slimer on 2005/12/14 16:03:32
Don't destroy the linux_osname mutex twice on unload.
Affected files ...
.. //depot/projects/smpng/sys/alpha/linux/linux_sysvec.c#22 edit
.. //depot/projects/smpng/sys/amd64/linux32/linux32_sysvec.c#12 edit
.. //depot/projects/smpng/sys/compat/linux/linux_mib.c#12 edit
.. //depot/projects/smpng/sys/compat/linux/linux_mib.h#7 edit
.. //depot/projects/smpng/sys/i386/linux/linux_sysvec.c#47 edit
Differences ...
==== //depot/projects/smpng/sys/alpha/linux/linux_sysvec.c#22 (text+ko) ====
@@ -263,7 +263,6 @@
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;
==== //depot/projects/smpng/sys/amd64/linux32/linux32_sysvec.c#12 (text+ko) ====
@@ -1081,7 +1081,6 @@
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;
==== //depot/projects/smpng/sys/compat/linux/linux_mib.c#12 (text+ko) ====
@@ -156,13 +156,6 @@
}
void
-linux_mib_destroy(void)
-{
-
- mtx_destroy(&osname_lock);
-}
-
-void
linux_get_osname(struct thread *td, char *dst)
{
register struct prison *pr;
==== //depot/projects/smpng/sys/compat/linux/linux_mib.h#7 (text+ko) ====
@@ -31,8 +31,6 @@
#ifndef _LINUX_MIB_H_
#define _LINUX_MIB_H_
-void linux_mib_destroy(void);
-
void linux_get_osname(struct thread *td, char *dst);
int linux_set_osname(struct thread *td, char *osname);
==== //depot/projects/smpng/sys/i386/linux/linux_sysvec.c#47 (text+ko) ====
@@ -923,7 +923,6 @@
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;
More information about the p4-projects
mailing list