mincore: pass ranges as start,end address pairs
authorJohannes Weiner <hannes@cmpxchg.org>
Mon, 24 May 2010 21:32:11 +0000 (14:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:06:58 +0000 (08:06 -0700)
commit25ef0e50cca790370ad7838e3ad74db6a6a2d829
tree9fef482df352beaeeb0ae1c6a176448cf795d045
parentf488401076c5570130c018e573f450a9a6c43365
mincore: pass ranges as start,end address pairs

Instead of passing a start address and a number of pages into the helper
functions, convert them to use a start and an end address.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mincore.c