These routines will be used in SUNPRC module and thus have to be exported. Signed-off-by: Stanislav Kinsbursky <skinsbur...@parallels.com>
--- kernel/sysctl.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 21e68c1..0ee5b73 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -1700,6 +1700,7 @@ void register_sysctl_root(struct ctl_table_root *root) list_add_tail(&root->root_list, &sysctl_table_root.root_list); spin_unlock(&sysctl_lock); } +EXPORT_SYMBOL_GPL(register_sysctl_root); void unregister_sysctl_root(struct ctl_table_root *root) { @@ -1707,6 +1708,7 @@ void unregister_sysctl_root(struct ctl_table_root *root) list_del(&root->root_list); spin_unlock(&sysctl_lock); } +EXPORT_SYMBOL_GPL(unregister_sysctl_root); /* * sysctl_perm does NOT grant the superuser all rights automatically, because _______________________________________________ Devel mailing list Devel@openvz.org https://openvz.org/mailman/listinfo/devel