• Linus Torvalds's avatar
    Support strange discontiguous PFN remappings · 238f58d8
    Linus Torvalds authored
    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: default avatarLinus Torvalds <torvalds@osdl.org>
    238f58d8
memory.c 63.2 KB