Commit 8e6b0085 authored by Andrew Morton's avatar Andrew Morton Committed by Anton Blanchard

[PATCH] Fix build for CONFIG_KALLSYMS=n

From: "David S. Miller" <davem@redhat.com>

add_kallsyms() doesn't exist if !CONFIG_KALLSYMS.
parent 1ffdd437
......@@ -1606,7 +1606,9 @@ static struct module *load_module(void __user *umod,
if (err < 0)
goto cleanup;
#ifdef CONFIG_KALLSYMS
add_kallsyms(mod, sechdrs, symindex, strindex, secstrings);
#endif
mod->args = args;
if (obsparmindex) {
......
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