Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45235
b: refs/heads/master
c: d3b2c33
h: refs/heads/master
i:
  45233: 511ab71
  45231: dc7d0f5
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Jan 6, 2007
1 parent ac38c10 commit 8b79313
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: 965b58a550b6f84815cb555e6abb953e863f1610
refs/heads/master: d3b2c33860d4acdfe3ac29b40b03e655eb8d1e2c
4 changes: 2 additions & 2 deletions trunk/drivers/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static void vmcs_clear(struct vmcs *vmcs)
static void __vcpu_clear(void *arg)
{
struct kvm_vcpu *vcpu = arg;
int cpu = smp_processor_id();
int cpu = raw_smp_processor_id();

if (vcpu->cpu == cpu)
vmcs_clear(vcpu->vmcs);
Expand Down Expand Up @@ -541,7 +541,7 @@ static struct vmcs *alloc_vmcs_cpu(int cpu)

static struct vmcs *alloc_vmcs(void)
{
return alloc_vmcs_cpu(smp_processor_id());
return alloc_vmcs_cpu(raw_smp_processor_id());
}

static void free_vmcs(struct vmcs *vmcs)
Expand Down

0 comments on commit 8b79313

Please sign in to comment.