[PATCH] Fix vma argument in get_usr_pages() for gate areas
authorNick Piggin <nickpiggin@yahoo.com.au>
Tue, 29 Nov 2005 07:43:17 +0000 (18:43 +1100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 29 Nov 2005 15:53:32 +0000 (07:53 -0800)
commitfa2a455b028f3b6ca4dae129c6337d7edf21f12c
tree42b147522c5c112e26efa55b8173a97b424149a5
parent624f54be206adf970cd8eece16446b027913e533
[PATCH] Fix vma argument in get_usr_pages() for gate areas

The system call gate area handling called vm_normal_page() with the
wrong vma (which was always NULL, and caused an oops).

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/memory.c