|
@@ -194,7 +194,7 @@ void machine_kexec(struct kimage *image)
|
|
unsigned int preserve_context);
|
|
unsigned int preserve_context);
|
|
|
|
|
|
#ifdef CONFIG_KEXEC_JUMP
|
|
#ifdef CONFIG_KEXEC_JUMP
|
|
- if (kexec_image->preserve_context)
|
|
|
|
|
|
+ if (image->preserve_context)
|
|
save_processor_state();
|
|
save_processor_state();
|
|
#endif
|
|
#endif
|
|
|
|
|
|
@@ -253,7 +253,7 @@ void machine_kexec(struct kimage *image)
|
|
image->preserve_context);
|
|
image->preserve_context);
|
|
|
|
|
|
#ifdef CONFIG_KEXEC_JUMP
|
|
#ifdef CONFIG_KEXEC_JUMP
|
|
- if (kexec_image->preserve_context)
|
|
|
|
|
|
+ if (image->preserve_context)
|
|
restore_processor_state();
|
|
restore_processor_state();
|
|
#endif
|
|
#endif
|
|
|
|
|