Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104443
b: refs/heads/master
c: c05f1cf
h: refs/heads/master
i:
  104441: 44d06c9
  104439: 45b2c94
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Jul 16, 2008
1 parent ae09c80 commit afa42a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 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: 8a95408e183b3e4aaf3b6a66fa34bff4db53011b
refs/heads/master: c05f1cfaba846dfbd4a67e348087d32326288fe0
13 changes: 9 additions & 4 deletions trunk/include/asm-x86/xen/hypercall.h
Original file line number Diff line number Diff line change
Expand Up @@ -466,10 +466,15 @@ MULTI_update_descriptor(struct multicall_entry *mcl, u64 maddr,
struct desc_struct desc)
{
mcl->op = __HYPERVISOR_update_descriptor;
mcl->args[0] = maddr;
mcl->args[1] = maddr >> 32;
mcl->args[2] = desc.a;
mcl->args[3] = desc.b;
if (sizeof(maddr) == sizeof(long)) {
mcl->args[0] = maddr;
mcl->args[1] = *(unsigned long *)&desc;
} else {
mcl->args[0] = maddr;
mcl->args[1] = maddr >> 32;
mcl->args[2] = desc.a;
mcl->args[3] = desc.b;
}
}

static inline void
Expand Down

0 comments on commit afa42a6

Please sign in to comment.