clarify get_user_pages() prototype
authorPeter Zijlstra <peterz@infradead.org>
Thu, 25 Jun 2009 09:58:55 +0000 (11:58 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Jun 2009 18:22:13 +0000 (11:22 -0700)
commit9d73777e500929b71dcfed16eec05f6760e345a6
tree7b2d0e7a619b4a5c994ca8789e680f6e7642849c
parentab420e6d9c2511b862d753b70efb4e979faa0714
clarify get_user_pages() prototype

Currently the 4th parameter of get_user_pages() is called len, but its
in pages, not bytes. Rename the thing to nr_pages to avoid future
confusion.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
mm/memory.c
mm/nommu.c