diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/exit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 419d9d3c4c48..7be283d98983 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -39,6 +39,8 @@ extern struct task_struct *child_reaper; | |||
39 | 39 | ||
40 | int getrusage(struct task_struct *, int, struct rusage __user *); | 40 | int getrusage(struct task_struct *, int, struct rusage __user *); |
41 | 41 | ||
42 | static void exit_mm(struct task_struct * tsk); | ||
43 | |||
42 | static void __unhash_process(struct task_struct *p) | 44 | static void __unhash_process(struct task_struct *p) |
43 | { | 45 | { |
44 | nr_threads--; | 46 | nr_threads--; |
@@ -474,7 +476,7 @@ EXPORT_SYMBOL_GPL(exit_fs); | |||
474 | * Turn us into a lazy TLB process if we | 476 | * Turn us into a lazy TLB process if we |
475 | * aren't already.. | 477 | * aren't already.. |
476 | */ | 478 | */ |
477 | void exit_mm(struct task_struct * tsk) | 479 | static void exit_mm(struct task_struct * tsk) |
478 | { | 480 | { |
479 | struct mm_struct *mm = tsk->mm; | 481 | struct mm_struct *mm = tsk->mm; |
480 | 482 | ||