From: Krzysztof Kozlowski Date: Thu, 26 Feb 2015 20:50:41 +0000 (+0900) Subject: ARM: EXYNOS: Don't use LDREX and STREX after disabling cache coherency X-Git-Tag: omap-for-v4.1/wl12xx-dt~9^2~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca489c58ef0b81cc9c9252fd92e6c9bb38d3c408;p=pandora-kernel.git ARM: EXYNOS: Don't use LDREX and STREX after disabling cache coherency During CPU shutdown the exynos_cpu_power_down() is called after disabling cache coherency and it uses LDREX and STREX instructions (by calling of_machine_is_compatible() -> kobject_get() -> kref_get()). The LDREX and STREX should not be used after disabling the cache coherency so just use soc_is_exynos(). Fixes: adc548d77c22 ("ARM: EXYNOS: Use MCPM call-backs to support S2R on exynos5420") Reported-by: Stephen Boyd Signed-off-by: Krzysztof Kozlowski Cc: Reviewed-by: Stephen Boyd Signed-off-by: Kukjin Kim --- Reading git-diff-tree failed