summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@us.ibm.com>2005-05-01 08:59:03 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 08:59:03 -0700
commit66cf8f1443301a1d5bc9c21709e4264e6919a3e1 (patch)
tree2acfef65040c2fab1099b04f747921df600b4080 /kernel
parentf246315e1ab96c40978777d1e159820ecca45aa8 (diff)
downloadlinux-stable-66cf8f1443301a1d5bc9c21709e4264e6919a3e1.tar.gz
linux-stable-66cf8f1443301a1d5bc9c21709e4264e6919a3e1.tar.bz2
linux-stable-66cf8f1443301a1d5bc9c21709e4264e6919a3e1.zip
[PATCH] kernel/rcupdate.c: make the exports EXPORT_SYMBOL_GPL
The gpl exports need to be put back. Moving them to GPL -- but in a measured manner, as I proposed on this list some months ago -- is fine. Changing these particular exports precipitously is most definitely -not- fine. Here is my earlier proposal: http://marc.theaimsgroup.com/?l=linux-kernel&m=110520930301813&w=2 See below for a patch that puts the exports back, along with an updated version of my earlier patch that starts the process of moving them to GPL. I will also be following this message with RFC patches that introduce two (EXPORT_SYMBOL_GPL) interfaces to replace synchronize_kernel(), which then becomes deprecated. Signed-off-by: <paulmck@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rcupdate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/rcupdate.c b/kernel/rcupdate.c
index d00eded75d71..ad497722f04f 100644
--- a/kernel/rcupdate.c
+++ b/kernel/rcupdate.c
@@ -465,6 +465,6 @@ void synchronize_kernel(void)
}
module_param(maxbatch, int, 0);
-EXPORT_SYMBOL_GPL(call_rcu);
-EXPORT_SYMBOL_GPL(call_rcu_bh);
-EXPORT_SYMBOL_GPL(synchronize_kernel);
+EXPORT_SYMBOL(call_rcu); /* WARNING: GPL-only in April 2006. */
+EXPORT_SYMBOL(call_rcu_bh); /* WARNING: GPL-only in April 2006. */
+EXPORT_SYMBOL(synchronize_kernel); /* WARNING: GPL-only in April 2006. */