• Linus Torvalds's avatar
    Make drivers/char/mem.c use remap_pfn_range() · 172b5487
    Linus Torvalds authored
    Rather than the deprecated remap_page_range() function
    that can't handle all of the PFN range anyway.
    
    Also, since that will now mark the vma as being special,
    there's no need to do it in mmap_mem() any more.
    172b5487
mem.c 16.7 KB