Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140554
b: refs/heads/master
c: d680eb8
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell committed Mar 13, 2009
1 parent 28a1d44 commit 4175d1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 70ba2b6a70f0077707977e3b107478768492040d
refs/heads/master: d680eb8bcd0e43b20067fd2c810d76463db5444e
4 changes: 2 additions & 2 deletions trunk/drivers/xen/cpu_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ static void enable_hotplug_cpu(int cpu)
if (!cpu_present(cpu))
arch_register_cpu(cpu);

cpu_set(cpu, cpu_present_map);
set_cpu_present(cpu, true);
}

static void disable_hotplug_cpu(int cpu)
{
if (cpu_present(cpu))
arch_unregister_cpu(cpu);

cpu_clear(cpu, cpu_present_map);
set_cpu_present(cpu, false);
}

static void vcpu_hotplug(unsigned int cpu)
Expand Down

0 comments on commit 4175d1c

Please sign in to comment.