diff options
author | Anton Blanchard <anton@samba.org> | 2011-01-06 12:54:15 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-01-20 22:08:34 -0500 |
commit | 50266a1f8a6618f2e477635cfcf457b5da8d5a68 (patch) | |
tree | b6cc9600d8627de0311c4326c38677778ac0fe03 /arch/powerpc/include | |
parent | b18ae08deac23187e4a22a8c94a1a473be8e8c93 (diff) |
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>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/machdep.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index 8433d36619a1..b2e8d69280cc 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h | |||
@@ -116,9 +116,6 @@ struct machdep_calls { | |||
116 | * If for some reason there is no irq, but the interrupt | 116 | * If for some reason there is no irq, but the interrupt |
117 | * shouldn't be counted as spurious, return NO_IRQ_IGNORE. */ | 117 | * shouldn't be counted as spurious, return NO_IRQ_IGNORE. */ |
118 | unsigned int (*get_irq)(void); | 118 | unsigned int (*get_irq)(void); |
119 | #ifdef CONFIG_KEXEC | ||
120 | void (*kexec_cpu_down)(int crash_shutdown, int secondary); | ||
121 | #endif | ||
122 | 119 | ||
123 | /* PCI stuff */ | 120 | /* PCI stuff */ |
124 | /* Called after scanning the bus, before allocating resources */ | 121 | /* Called after scanning the bus, before allocating resources */ |
@@ -235,6 +232,8 @@ struct machdep_calls { | |||
235 | void (*machine_shutdown)(void); | 232 | void (*machine_shutdown)(void); |
236 | 233 | ||
237 | #ifdef CONFIG_KEXEC | 234 | #ifdef CONFIG_KEXEC |
235 | void (*kexec_cpu_down)(int crash_shutdown, int secondary); | ||
236 | |||
238 | /* Called to do the minimal shutdown needed to run a kexec'd kernel | 237 | /* Called to do the minimal shutdown needed to run a kexec'd kernel |
239 | * to run successfully. | 238 | * to run successfully. |
240 | * XXX Should we move this one out of kexec scope? | 239 | * XXX Should we move this one out of kexec scope? |