aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/fork.c4
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
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{