• Jesse Barnes's avatar
    [IA64] new api efi_range_is_wc() · 46d3fb56
    Jesse Barnes authored
    Ok, here you go Tony.  This one fixes the loop and also fixes drm_vm.c.  All
    of the bits aside from the efi.h bit are ia64 specific (either under
    arch/ia64 or __ia64__), so your tree is probably the right place for all of
    it.
     
    This patch adds efi_range_is_wc() to efi.h.  It's used to determine whether an
    address range can be mapped with the write coalescing attribute.  It also
    fixes up some ia64 specific callers to use the new routine instead of
    unconditionally calling pgprot_writecombined, which can be dangerous if used
    on ranges that don't support it.
    Signed-off-by: default avatarJesse Barnes <jbarnes@sgi.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    46d3fb56
drm_vm.c 18.7 KB