aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kexec.c')
-rw-r--r--kernel/kexec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/kexec.c b/kernel/kexec.c
index 1197de8b2a94..de1441656efd 100644
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -1057,7 +1057,9 @@ void crash_kexec(struct pt_regs *regs)
1057 if (!locked) { 1057 if (!locked) {
1058 image = xchg(&kexec_crash_image, NULL); 1058 image = xchg(&kexec_crash_image, NULL);
1059 if (image) { 1059 if (image) {
1060 machine_crash_shutdown(regs); 1060 struct pt_regs fixed_regs;
1061 crash_setup_regs(&fixed_regs, regs);
1062 machine_crash_shutdown(&fixed_regs);
1061 machine_kexec(image); 1063 machine_kexec(image);
1062 } 1064 }
1063 xchg(&kexec_lock, 0); 1065 xchg(&kexec_lock, 0);