powerpc/mpic: Add ability to reset a core via MPIC
authorMatthew McClintock <msm@freescale.com>
Tue, 29 Jun 2010 09:42:26 +0000 (09:42 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 9 Jul 2010 01:28:27 +0000 (11:28 +1000)
commit66953ebef60ffe94650a735b445f1495d989c523
tree705ea34685f8c378381f8f5926d7bbf757ac3333
parentd10ac3734d07bee675384d22d06883b3c57b1524
powerpc/mpic: Add ability to reset a core via MPIC

We need the ability to reset cores for use with kexec/kdump for
SMP systems. Calling this function with the specific core you want
to reset will cause the CPU to spin in reset.

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/mpic.c
arch/powerpc/sysdev/mpic.h