diff options
author | Paul E. McKenney <paulmck@us.ibm.com> | 2005-05-01 11:59:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:59:03 -0400 |
commit | 66cf8f1443301a1d5bc9c21709e4264e6919a3e1 (patch) | |
tree | 2acfef65040c2fab1099b04f747921df600b4080 | |
parent | f246315e1ab96c40978777d1e159820ecca45aa8 (diff) |
[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>
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 15 | ||||
-rw-r--r-- | kernel/rcupdate.c | 6 |
2 files changed, 18 insertions, 3 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index 56627c1546de..d3c52dd24a2a 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -48,3 +48,18 @@ When: April 2005 | |||
48 | Why: Replaced by ->compat_ioctl in file_operations and other method | 48 | Why: Replaced by ->compat_ioctl in file_operations and other method |
49 | vecors. | 49 | vecors. |
50 | Who: Andi Kleen <ak@muc.de>, Christoph Hellwig <hch@lst.de> | 50 | Who: Andi Kleen <ak@muc.de>, Christoph Hellwig <hch@lst.de> |
51 | |||
52 | --------------------------- | ||
53 | |||
54 | What: RCU API moves to EXPORT_SYMBOL_GPL | ||
55 | When: April 2006 | ||
56 | Files: include/linux/rcupdate.h, kernel/rcupdate.c | ||
57 | Why: Outside of Linux, the only implementations of anything even | ||
58 | vaguely resembling RCU that I am aware of are in DYNIX/ptx, | ||
59 | VM/XA, Tornado, and K42. I do not expect anyone to port binary | ||
60 | drivers or kernel modules from any of these, since the first two | ||
61 | are owned by IBM and the last two are open-source research OSes. | ||
62 | So these will move to GPL after a grace period to allow | ||
63 | people, who might be using implementations that I am not aware | ||
64 | of, to adjust to this upcoming change. | ||
65 | Who: Paul E. McKenney <paulmck@us.ibm.com> | ||
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) | |||
465 | } | 465 | } |
466 | 466 | ||
467 | module_param(maxbatch, int, 0); | 467 | module_param(maxbatch, int, 0); |
468 | EXPORT_SYMBOL_GPL(call_rcu); | 468 | EXPORT_SYMBOL(call_rcu); /* WARNING: GPL-only in April 2006. */ |
469 | EXPORT_SYMBOL_GPL(call_rcu_bh); | 469 | EXPORT_SYMBOL(call_rcu_bh); /* WARNING: GPL-only in April 2006. */ |
470 | EXPORT_SYMBOL_GPL(synchronize_kernel); | 470 | EXPORT_SYMBOL(synchronize_kernel); /* WARNING: GPL-only in April 2006. */ |