Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343549
b: refs/heads/master
c: e6c7d32
h: refs/heads/master
i:
  343547: 2398588
v: v3
  • Loading branch information
Xiao Guangrong authored and Marcelo Tosatti committed Nov 29, 2012
1 parent d597d56 commit b1397e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 859f8450d8a334a7f7cb994e4676cf918deff832
refs/heads/master: e6c7d32172f10b68fa9a3be05aa1231352a52171
8 changes: 5 additions & 3 deletions trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1007,9 +1007,11 @@ static void __loaded_vmcs_clear(void *arg)

static void loaded_vmcs_clear(struct loaded_vmcs *loaded_vmcs)
{
if (loaded_vmcs->cpu != -1)
smp_call_function_single(
loaded_vmcs->cpu, __loaded_vmcs_clear, loaded_vmcs, 1);
int cpu = loaded_vmcs->cpu;

if (cpu != -1)
smp_call_function_single(cpu,
__loaded_vmcs_clear, loaded_vmcs, 1);
}

static inline void vpid_sync_vcpu_single(struct vcpu_vmx *vmx)
Expand Down

0 comments on commit b1397e7

Please sign in to comment.