]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: EXYNOS: use v7_exit_coherency_flush macro for cache disabling
authorLeela Krishna Amudala <leela.krishna@linaro.org>
Fri, 9 May 2014 13:51:04 +0000 (22:51 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 25 May 2014 19:04:59 +0000 (04:04 +0900)
commitace5fc48aa60936e3beb3bfeb63d9193efe04240
tree6bfcb96f1e2bfbd80f86b4c6ae167dc6f1797337
parentf43f45dcde7d7d4d3250916b507860cc0a7fe730
ARM: EXYNOS: use v7_exit_coherency_flush macro for cache disabling

A common macro v7_exit_coherency_flush available which does the below
tasks in the seqeunce.
-clearing C bit
-clearing L1 cache
-exit SMP
-instruction and data synchronization

So removing the local functions which does the same thing and use the
macro instead.

Signed-off-by: Leela Krishna Amudala <leela.krishna@linaro.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
[cw00.choi@samsung.com: tested on exynos3250 based board]
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/hotplug.c