• Nicolas Pitre's avatar
    ARM: get rid of kmap_high_l1_vipt() · 39af22a7
    Nicolas Pitre authored
    Since commit 3e4d3af5 "mm: stack based kmap_atomic()", it is no longer
    necessary to carry an ad hoc version of kmap_atomic() added in commit
    7e5a69e8 "ARM: 6007/1: fix highmem with VIPT cache and DMA" to cope
    with reentrancy.
    
    In fact, it is now actively wrong to rely on fixed kmap type indices
    (namely KM_L1_CACHE) as kmap_atomic() totally ignores them now and a
    concurrent instance of it may reuse any slot for any purpose.
    Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
    39af22a7
dma-mapping.c 15.8 KB