ARM: get rid of kmap_high_l1_vipt()
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 15 Dec 2010 20:14:45 +0000 (15:14 -0500)
committerNicolas Pitre <nico@fluxnic.net>
Sun, 19 Dec 2010 17:56:46 +0000 (12:56 -0500)
commit39af22a79232373764904576f31572f1db76af10
tree20d31ab6a01b93dabe9c05277bcb1413e978648b
parentb0c3844d8af6b9f3f18f31e1b0502fbefa2166be
ARM: get rid of kmap_high_l1_vipt()

Since commit 3e4d3af501 "mm: stack based kmap_atomic()", it is no longer
necessary to carry an ad hoc version of kmap_atomic() added in commit
7e5a69e83b "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: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/include/asm/highmem.h
arch/arm/mm/dma-mapping.c
arch/arm/mm/flush.c
arch/arm/mm/highmem.c