From 72a1a2619caba266ac8c65f94a7a2a271537ccfe Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 26 Mar 2003 18:29:44 +0000 Subject: Add a cleanup function to destroy the osname_lock and call it on module unload. Submitted by: gallatin Reported by: Martin Karlsson --- sys/compat/linux/linux_mib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/compat/linux/linux_mib.h') diff --git a/sys/compat/linux/linux_mib.h b/sys/compat/linux/linux_mib.h index 42d9d89..b68e57f 100644 --- a/sys/compat/linux/linux_mib.h +++ b/sys/compat/linux/linux_mib.h @@ -31,6 +31,8 @@ #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); -- cgit v1.1