]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: add kmap_noncoherent to wire a cached non-coherent TLB entry
authorPaul Burton <paul.burton@imgtec.com>
Mon, 3 Mar 2014 12:08:40 +0000 (12:08 +0000)
committerPaul Burton <paul.burton@imgtec.com>
Wed, 28 May 2014 15:20:14 +0000 (16:20 +0100)
commitfd246291493526a122870712f80265964c5c3dc0
treefdf4723703809f156461e58305a66817339c10c9
parent67bc6d8f8cb2882a0f3b5634ad0c01fa9965ae2c
MIPS: add kmap_noncoherent to wire a cached non-coherent TLB entry

This is identical to kmap_coherent apart from the cache coherency
attribute used for the TLB entry, so kmap_coherent is abstracted to
kmap_prot which is then called for both kmap_coherent &
kmap_noncoherent. This will be used by a subsequent patch.

Suggested-by: Leonid Yegoshin <leonid.yegoshin@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/include/asm/cacheflush.h
arch/mips/include/asm/pgtable.h
arch/mips/mm/init.c