|
@@ -240,6 +240,12 @@ struct machdep_calls {
|
|
* claims to support kexec.
|
|
* claims to support kexec.
|
|
*/
|
|
*/
|
|
int (*machine_kexec_prepare)(struct kimage *image);
|
|
int (*machine_kexec_prepare)(struct kimage *image);
|
|
|
|
+
|
|
|
|
+ /* Called to perform the _real_ kexec.
|
|
|
|
+ * Do NOT allocate memory or fail here. We are past the point of
|
|
|
|
+ * no return.
|
|
|
|
+ */
|
|
|
|
+ void (*machine_kexec)(struct kimage *image);
|
|
#endif /* CONFIG_KEXEC */
|
|
#endif /* CONFIG_KEXEC */
|
|
|
|
|
|
#ifdef CONFIG_SUSPEND
|
|
#ifdef CONFIG_SUSPEND
|