Commit 4a539f1c authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] 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.

Thanks to Doug Ledford for the bug report.
parent a89a8e24
......@@ -1195,6 +1195,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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment