diff options
author | Christoph Hellwig <hch@lst.de> | 2006-07-10 07:45:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 16:24:26 -0400 |
commit | c59923a15c12d2b3597af913bf234a0ef264a38b (patch) | |
tree | b501b52309d68e711b7e162b570c16e535922d32 /kernel/fork.c | |
parent | f84dfe82962759f3355eacc8e377361bb77b5274 (diff) |
[PATCH] remove the tasklist_lock export
As announced half a year ago this patch will remove the tasklist_lock
export. The previous two patches got rid of the remaining modular users.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 | ||
62 | DEFINE_PER_CPU(unsigned long, process_counts) = 0; | 62 | DEFINE_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 | |||
66 | EXPORT_SYMBOL(tasklist_lock); | ||
67 | 65 | ||
68 | int nr_processes(void) | 66 | int nr_processes(void) |
69 | { | 67 | { |