diff options
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index d99522e8f033..3c4da8bee06f 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1043,10 +1043,7 @@ static void xen_crash_shutdown(struct pt_regs *regs) | |||
1043 | static int | 1043 | static int |
1044 | xen_panic_event(struct notifier_block *this, unsigned long event, void *ptr) | 1044 | xen_panic_event(struct notifier_block *this, unsigned long event, void *ptr) |
1045 | { | 1045 | { |
1046 | struct sched_shutdown r = { .reason = SHUTDOWN_crash}; | 1046 | xen_reboot(SHUTDOWN_crash); |
1047 | |||
1048 | if (HYPERVISOR_sched_op(SCHEDOP_shutdown, &r)) | ||
1049 | BUG(); | ||
1050 | return NOTIFY_DONE; | 1047 | return NOTIFY_DONE; |
1051 | } | 1048 | } |
1052 | 1049 | ||