]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Support strange discontiguous PFN remappings
authorLinus Torvalds <torvalds@g5.osdl.org>
Tue, 29 Nov 2005 21:01:56 +0000 (13:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 29 Nov 2005 21:01:56 +0000 (13:01 -0800)
commit238f58d898df941aa9d1cb390fb27ff4febe8965
tree4a897b3a47e7d209e3ff8601febd3dde16f3803e
parenteca351336acb2fa943611e0846562ce3997ef53b
Support strange discontiguous PFN remappings

These get created by some drivers that don't generally even want a pfn
remapping at all, but would really mostly prefer to just map pages
they've allocated individually instead.

For now, create a helper function that turns such an incomplete PFN
remapping call into a loop that does that explicit mapping.  In the long
run we almost certainly want to export a totally different interface for
that, though.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mm.h
mm/memory.c