summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2009-06-17 00:32:35 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-17 04:47:40 +0200
commit3b6748e2dd69906af3835db4dc9d1c8a3ee4c68c (patch)
tree5d5476844f8e29e31684ce8ccf7e163ab3182ad6 /mm/page_alloc.c
parentmm: use generic follow_pte() in follow_phys() (diff)
downloadlinux-3b6748e2dd69906af3835db4dc9d1c8a3ee4c68c.tar.xz
linux-3b6748e2dd69906af3835db4dc9d1c8a3ee4c68c.zip
mm: introduce follow_pfn()
Analoguous to follow_phys(), add a helper that looks up the PFN at a user virtual address in an IO mapping or a raw PFN mapping. 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>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions