Export module_dummy_usage
PATCH 1/1 Export module_dummy_usage
Trivial patch. We keep a dummy use count for old code which wants to know its own usecount using GET_USE_COUNT. It needs to be exported.
Name: Export dummy_use_count
Author: Rusty Russell
Status: Trivial
Depends: Module/module.patch.gz
D: This exports dummy_use_count for the few cases of GET_USE_COUNT().
D: Thank to Doug Ledford for the bug report.
kernel/module.c +1 -0
@@ -1155,6 +1155,7 @@ static int __init init(void)/* Obsolete lvalue for broken code which asks about usage */ int module_dummy_usage =1 ; +EXPORT_SYMBOL (module_dummy_usage);/* Call this at boot */ __initcall (init);
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.