aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/feature-removal-schedule.txt11
-rw-r--r--kernel/fork.c4
2 files changed, 1 insertions, 14 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 99f219a01e0e..ee287988934e 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -166,17 +166,6 @@ Who: Arjan van de Ven <arjan@linux.intel.com>
166 166
167--------------------------- 167---------------------------
168 168
169What: remove EXPORT_SYMBOL(tasklist_lock)
170When: August 2006
171Files: kernel/fork.c
172Why: tasklist_lock protects the kernel internal task list. Modules have
173 no business looking at it, and all instances in drivers have been due
174 to use of too-lowlevel APIs. Having this symbol exported prevents
175 moving to more scalable locking schemes for the task list.
176Who: Christoph Hellwig <hch@lst.de>
177
178---------------------------
179
180What: mount/umount uevents 169What: mount/umount uevents
181When: February 2007 170When: February 2007
182Why: These events are not correct, and do not properly let userspace know 171Why: These events are not correct, and do not properly let userspace know
diff --git a/kernel/fork.c b/kernel/fork.c
index 56e4e07e45f7..926e5a68ea9e 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -61,9 +61,7 @@ int max_threads; /* tunable limit on nr_threads */
61 61
62DEFINE_PER_CPU(unsigned long, process_counts) = 0; 62DEFINE_PER_CPU(unsigned long, process_counts) = 0;
63 63
64 __cacheline_aligned DEFINE_RWLOCK(tasklist_lock); /* outer */ 64__cacheline_aligned DEFINE_RWLOCK(tasklist_lock); /* outer */
65
66EXPORT_SYMBOL(tasklist_lock);
67 65
68int nr_processes(void) 66int nr_processes(void)
69{ 67{