summaryrefslogtreecommitdiffstats
path: root/mm/mlock.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-01-10 17:17:53 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-01-10 17:17:53 +0000
commitb2ad5f821b1381492d792ca10b1eb7a107b48f14 (patch)
tree954a648692e7da983db1d2470953705f6a729264 /mm/mlock.c
parentc9c06167e7933d93a6e396174c68abf242294abb (diff)
Merge with Linux 2.4.0-prerelease. Big Makefile rewrite, test your
Makefiles.
Diffstat (limited to 'mm/mlock.c')
-rw-r--r--mm/mlock.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mm/mlock.c b/mm/mlock.c
index 551d61d39..16e9f947b 100644
--- a/mm/mlock.c
+++ b/mm/mlock.c
@@ -189,9 +189,6 @@ static int do_mlock(unsigned long start, size_t len, int on)
break;
}
}
- spin_lock(&current->mm->page_table_lock);
- merge_segments(current->mm, start, end);
- spin_unlock(&current->mm->page_table_lock);
return error;
}
@@ -263,9 +260,6 @@ static int do_mlockall(int flags)
if (error)
break;
}
- spin_lock(&current->mm->page_table_lock);
- merge_segments(current->mm, 0, TASK_SIZE);
- spin_unlock(&current->mm->page_table_lock);
return error;
}