ARM: zynq: Synchronise zynq_cpu_die/kill
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Tue, 2 Sep 2014 21:19:12 +0000 (14:19 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 16 Sep 2014 10:55:09 +0000 (12:55 +0200)
commit50c7960a4517d6c93226351cd8c43c86f104c919
tree354342e21f9dfc23fe2d0412f4df7dc3301e928e
parent18aebf116b494101841f109f07e0d6a0aad9a46e
ARM: zynq: Synchronise zynq_cpu_die/kill

Avoid races and add synchronisation between the arch specific
kill and die routines.

The same synchronisation issue was fixed on IMX platform
by this commit:
"ARM: imx: fix sync issue between imx_cpu_die and imx_cpu_kill"
(sha1: 2f3edfd7e27ad4206acbc2ae99c9df5f46353024)

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/common.h
arch/arm/mach-zynq/hotplug.c
arch/arm/mach-zynq/platsmp.c
arch/arm/mach-zynq/slcr.c