aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2004-04-29 00:13:28 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-29 00:13:28 -0700
commitbbf2b79a071781f14dca38987fed676d722be1d1 (patch)
tree2012cbf2e92a8bffc4b5fe6eacf295d969907b0b /mm
parent294947ec18ff7e752304756b2e8433184bc688bb (diff)
downloadhistory-bbf2b79a071781f14dca38987fed676d722be1d1.tar.gz
[PATCH] mremap offset type
Just found I never changed type of move_page_tables when I changed it to return offset: einormous mremap moves would fail on 64-bit.
Diffstat (limited to 'mm')
-rw-r--r--mm/mremap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mremap.c b/mm/mremap.c
index 4dc19b41500007..d4e99602531521 100644
--- a/mm/mremap.c
+++ b/mm/mremap.c
@@ -145,7 +145,7 @@ out:
return error;
}
-static int move_page_tables(struct vm_area_struct *vma,
+static unsigned long move_page_tables(struct vm_area_struct *vma,
unsigned long new_addr, unsigned long old_addr, unsigned long len)
{
unsigned long offset;