nds32: To simplify the implementation of update_mmu_cache()
authorGreentime Hu <greentime@andestech.com>
Tue, 3 Jul 2018 06:07:11 +0000 (14:07 +0800)
committerGreentime Hu <greentime@andestech.com>
Tue, 3 Jul 2018 06:18:17 +0000 (14:18 +0800)
commitbc9cb86e6514bed3d317208556d3cd48acff40e0
tree836e54de96d72595a3809593204775c801a2db95
parent6897e6ecb3167598cb45e1a1424dd4d5e3778837
nds32: To simplify the implementation of update_mmu_cache()

The checking code is done in kmap_atomic() so that we don't need to
check it in update_mmu_cache() again. There is no need to implement
it for cache aliasing or cache non-aliasing versions. We can just
implement one version for both.

Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/mm/cacheflush.c