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)
commit75ad2ab28f0f184a7ba7f816b62be04c3c0ba80a
tree6bfcb96f1e2bfbd80f86b4c6ae167dc6f1797337
parentb5783dcaed065ae6622a9795a19a4eda748b64f8
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