]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit21297b93119befd43990d7d5ae21efae1f7f9417
tree7b2d0e7a619b4a5c994ca8789e680f6e7642849c
parent039bfdc8eec13cd2c4c4f9b65e774d19cc5018be
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