mm: introduce follow_pte()
authorJohannes Weiner <hannes@cmpxchg.org>
Tue, 16 Jun 2009 22:32:33 +0000 (15:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:39 +0000 (19:47 -0700)
commitf8ad0f499fad5cdbcaaa2d97542b2db869b5a770
treef1b5e91072238c2a303940bd522485484dc22105
parente9bb35df6f813ca46f8e6273add657643c7df73f
mm: introduce follow_pte()

A generic readonly page table lookup helper to map an address space and an
address from it to a pte.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Christoph Hellwig <hch@infradead.org>
Acked-by: Magnus Damm <magnus.damm@gmail.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c