[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 12 Dec 2011 21:50:08 +0300
From: Stanislav Kinsbursky <skinsbursky@...allels.com>
To: mingo@...e.hu
Cc: a.p.zijlstra@...llo.nl, xemul@...allels.com,
drosenberg@...curity.com, linux-kernel@...r.kernel.org,
eparis@...hat.com, bfields@...ldses.org, jbottomley@...allels.com,
akpm@...ux-foundation.org, devel@...nvz.org
Subject: [PATCH 2/2] SYSCTL: export root register and unregister routines
These routines will be used in SUNPRC module and thus have to be exported.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@...allels.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists