[PATCH v2 3/3] nds32: To simplify the implementation of update_mmu_cache()

2018-07-03 Thread Greentime Hu
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 --- arch/nds32/mm/cacheflush.c |

[PATCH v2 3/3] nds32: To simplify the implementation of update_mmu_cache()

2018-07-03 Thread Greentime Hu
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 --- arch/nds32/mm/cacheflush.c |