Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113261
b: refs/heads/master
c: 2737146
h: refs/heads/master
i:
  113259: c43ce5d
v: v3
  • Loading branch information
Alex Nixon authored and Ingo Molnar committed Sep 8, 2008
1 parent a4f02e1 commit e53148c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cc643d4687533345fd8ebcba836f9ee25df7c458
refs/heads/master: 2737146b3aa2cf8b5d5ae87a18c49fe1c374528b
18 changes: 18 additions & 0 deletions trunk/arch/x86/xen/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ static void xen_smp_cpus_done(unsigned int max_cpus)
{
}

#ifdef CONFIG_HOTPLUG_CPU
int xen_cpu_disable(void)
{
unsigned int cpu = smp_processor_id();
Expand Down Expand Up @@ -368,6 +369,23 @@ void xen_play_dead(void)
cpu_bringup();
}

#else /* !CONFIG_HOTPLUG_CPU */
int xen_cpu_disable(void)
{
return -ENOSYS;
}

void xen_cpu_die(unsigned int cpu)
{
BUG();
}

void xen_play_dead(void)
{
BUG();
}

#endif
static void stop_self(void *v)
{
int cpu = smp_processor_id();
Expand Down

0 comments on commit e53148c

Please sign in to comment.