ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available
authorHiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
Wed, 10 Jun 2015 07:47:19 +0000 (07:47 +0000)
committerDinh Nguyen <dinguyen@opensource.altera.com>
Tue, 7 Jul 2015 18:39:24 +0000 (13:39 -0500)
commitb33612e183dcbaa2cc2479cedff6984a6cccdf6a
tree0c57e1f0a6e79f7a1bba1e3252e004467835a872
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available

Kexec_load syscall in ARM requires that machine-specific code
has the smp_ops.cpu_kill() before loading kernel image.
This patch adds the cpu_kill(), as a result, kexec reboot and
kernel crash dump become available in mach-socfpga.

Signed-off-by: Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Link: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-June/348004.html
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
arch/arm/mach-socfpga/platsmp.c