]> git.karo-electronics.de Git - karo-tx-linux.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>
Fri, 9 May 2014 13:51:04 +0000 (22:51 +0900)
commita3cbd8f12cd6745df3ea7057097fb96aae83ce0b
tree7430703a993d9fabc4fc168bb4d412cb499af791
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
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