summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-02-18 05:29:19 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-02-18 05:29:19 -0800
commita1861dbf7d0232b9dfceefdabf09f849c67db7d4 (patch)
treeb5a145bbd8a14734594decbc33315df65fca734f /kernel
parent7f1707cab227635e3bf400e19e25ef217dc28042 (diff)
[PATCH] remove (start|end)_lazy_tlb()
Patch from William Lee Irwin III <wli@holomorphy.com> Remove start_lazy_tlb() and end_lazy_tlb(), as they are unused.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/exit.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 6b2f1113b926..c45159219e83 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -435,33 +435,6 @@ void exit_fs(struct task_struct *tsk)
}
/*
- * We can use these to temporarily drop into
- * "lazy TLB" mode and back.
- */
-struct mm_struct * start_lazy_tlb(void)
-{
- struct mm_struct *mm = current->mm;
- current->mm = NULL;
- /* active_mm is still 'mm' */
- atomic_inc(&mm->mm_count);
- enter_lazy_tlb(mm, current, smp_processor_id());
- return mm;
-}
-
-void end_lazy_tlb(struct mm_struct *mm)
-{
- struct mm_struct *active_mm = current->active_mm;
-
- current->mm = mm;
- if (mm != active_mm) {
- current->active_mm = mm;
- activate_mm(active_mm, mm);
- }
- mmdrop(active_mm);
-}
-
-
-/*
* Turn us into a lazy TLB process if we
* aren't already..
*/