• P
    sh: Fix up and optimize the kmap_coherent() interface. · 0906a3ad
    Paul Mundt 提交于
    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: NPaul Mundt <lethal@linux-sh.org>
    0906a3ad
init.c 8.1 KB