powerpc/kexec: Move all ppc_md kexec function pointers together
Move all the kexec handlers together. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
committed by
Benjamin Herrenschmidt
parent
b18ae08dea
commit
50266a1f8a
@@ -116,9 +116,6 @@ struct machdep_calls {
|
|||||||
* If for some reason there is no irq, but the interrupt
|
* If for some reason there is no irq, but the interrupt
|
||||||
* shouldn't be counted as spurious, return NO_IRQ_IGNORE. */
|
* shouldn't be counted as spurious, return NO_IRQ_IGNORE. */
|
||||||
unsigned int (*get_irq)(void);
|
unsigned int (*get_irq)(void);
|
||||||
#ifdef CONFIG_KEXEC
|
|
||||||
void (*kexec_cpu_down)(int crash_shutdown, int secondary);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* PCI stuff */
|
/* PCI stuff */
|
||||||
/* Called after scanning the bus, before allocating resources */
|
/* Called after scanning the bus, before allocating resources */
|
||||||
@@ -235,6 +232,8 @@ struct machdep_calls {
|
|||||||
void (*machine_shutdown)(void);
|
void (*machine_shutdown)(void);
|
||||||
|
|
||||||
#ifdef CONFIG_KEXEC
|
#ifdef CONFIG_KEXEC
|
||||||
|
void (*kexec_cpu_down)(int crash_shutdown, int secondary);
|
||||||
|
|
||||||
/* Called to do the minimal shutdown needed to run a kexec'd kernel
|
/* Called to do the minimal shutdown needed to run a kexec'd kernel
|
||||||
* to run successfully.
|
* to run successfully.
|
||||||
* XXX Should we move this one out of kexec scope?
|
* XXX Should we move this one out of kexec scope?
|
||||||
|
Reference in New Issue
Block a user