Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204776
b: refs/heads/master
c: 086748e
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and Jeremy Fitzhardinge committed Aug 4, 2010
1 parent 43ad2fb commit 5a48265
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f09f6d194d85043e0eb105a577e7ad6d8170ab66
refs/heads/master: 086748e52fb072ff0935ba4512e29c421bd5b716
5 changes: 1 addition & 4 deletions trunk/arch/x86/xen/enlighten.c
Original file line number Diff line number Diff line change
Expand Up @@ -1043,10 +1043,7 @@ static void xen_crash_shutdown(struct pt_regs *regs)
static int
xen_panic_event(struct notifier_block *this, unsigned long event, void *ptr)
{
struct sched_shutdown r = { .reason = SHUTDOWN_crash};

if (HYPERVISOR_sched_op(SCHEDOP_shutdown, &r))
BUG();
xen_reboot(SHUTDOWN_crash);
return NOTIFY_DONE;
}

Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/x86/xen/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ static void stop_self(void *v)
load_cr3(swapper_pg_dir);
/* should set up a minimal gdt */

set_cpu_online(cpu, false);

HYPERVISOR_vcpu_op(VCPUOP_down, cpu, NULL);
BUG();
}
Expand Down

0 comments on commit 5a48265

Please sign in to comment.