• Paul Mundt's avatar
    sh: Fix up and optimize the kmap_coherent() interface. · 0906a3ad
    Paul Mundt authored
    This fixes up the kmap_coherent/kunmap_coherent() interface for recent
    changes both in the page fault path and the shared cache flushers, as
    well as adding in some optimizations.
    
    One of the key things to note here is that the TLB flush itself is
    deferred until the unmap, and the call in to update_mmu_cache() itself
    goes away, relying on the regular page fault path to handle the lazy
    dcache writeback if necessary.
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    0906a3ad
pgtable_64.h 11.5 KB