Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375548
b: refs/heads/master
c: d7266d7
h: refs/heads/master
v: v3
  • Loading branch information
Stefano Stabellini committed May 13, 2013
1 parent deee0c6 commit d0e0211
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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: 1aa3d8d9935dfb459d64f06ccd828b56147fd971
refs/heads/master: d7266d7894b111dee9b081c05944533bc8780eca
10 changes: 3 additions & 7 deletions trunk/arch/arm/xen/enlighten.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,9 @@ static int __init xen_secondary_init(unsigned int cpu)
info.offset = offset_in_page(vcpup);

err = HYPERVISOR_vcpu_op(VCPUOP_register_vcpu_info, cpu, &info);
if (err) {
pr_debug("register_vcpu_info failed: err=%d\n", err);
} else {
/* This cpu is using the registered vcpu info, even if
later ones fail to. */
per_cpu(xen_vcpu, cpu) = vcpup;
}
BUG_ON(err);
per_cpu(xen_vcpu, cpu) = vcpup;

return 0;
}

Expand Down

0 comments on commit d0e0211

Please sign in to comment.