ARM: EXYNOS: use v7_exit_coherency_flush macro for cache disabling
authorLeela Krishna Amudala <[email protected]>
Fri, 9 May 2014 13:51:04 +0000 (22:51 +0900)
committerKukjin Kim <[email protected]>
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 <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
[[email protected]: tested on exynos3250 based board]
Tested-by: Chanwoo Choi <[email protected]>
Signed-off-by: Kukjin Kim <[email protected]>
arch/arm/mach-exynos/hotplug.c