Commit bbf2b79a authored by Hugh Dickins's avatar Hugh Dickins Committed by Linus Torvalds

[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.
parent 294947ec
......@@ -145,7 +145,7 @@ move_one_page(struct vm_area_struct *vma, unsigned long old_addr,
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment