|
@@ -20,15 +20,17 @@
|
|
|
|
|
|
static DEFINE_MUTEX(genl_mutex); /* serialization of message processing */
|
|
static DEFINE_MUTEX(genl_mutex); /* serialization of message processing */
|
|
|
|
|
|
-static inline void genl_lock(void)
|
|
|
|
|
|
+void genl_lock(void)
|
|
{
|
|
{
|
|
mutex_lock(&genl_mutex);
|
|
mutex_lock(&genl_mutex);
|
|
}
|
|
}
|
|
|
|
+EXPORT_SYMBOL(genl_lock);
|
|
|
|
|
|
-static inline void genl_unlock(void)
|
|
|
|
|
|
+void genl_unlock(void)
|
|
{
|
|
{
|
|
mutex_unlock(&genl_mutex);
|
|
mutex_unlock(&genl_mutex);
|
|
}
|
|
}
|
|
|
|
+EXPORT_SYMBOL(genl_unlock);
|
|
|
|
|
|
#define GENL_FAM_TAB_SIZE 16
|
|
#define GENL_FAM_TAB_SIZE 16
|
|
#define GENL_FAM_TAB_MASK (GENL_FAM_TAB_SIZE - 1)
|
|
#define GENL_FAM_TAB_MASK (GENL_FAM_TAB_SIZE - 1)
|