]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: EXYNOS: Use wfi macro in platform_do_lowpower
authorLeela Krishna Amudala <leela.krishna@linaro.org>
Tue, 27 May 2014 15:43:21 +0000 (00:43 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 27 May 2014 15:43:42 +0000 (00:43 +0900)
commit0e048df69368d004c555d7d89783a1ca7b8b84ce
tree4a8d5e71a86f859d37d45bfc3cffb28296733c58
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
ARM: EXYNOS: Use wfi macro in platform_do_lowpower

This patch is originally based on commit b3377d186572 ("ARM: 7064/1:
vexpress: Use wfi macro in platform_do_lowpower.")

Current Exynos CPU hotplug code includes a hardcoded WFI instruction,
in ARM encoding. When the kernel is compiled in Thumb-2 mode, this
is invalid and causes the machine to hang hard when a CPU is offlined.

Use wfi macro instead of the hardcoded WFI instruction.

Signed-off-by: Leela Krishna Amudala <leela.krishna@linaro.org>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/hotplug.c