|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] [linux-ppc-2.6] [ppc] memcpy() the local setup back into the or
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID a42dc9646bf5fb11980bbead4746aec7c88c8022
# Parent 28208ae097cbd70a1fbef90a8906b3186f589434
[ppc] memcpy() the local setup back into the original op pointer
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
arch/powerpc/platforms/xen/hcall.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 28208ae097cb -r a42dc9646bf5 arch/powerpc/platforms/xen/hcall.c
--- a/arch/powerpc/platforms/xen/hcall.c Mon Jun 05 16:55:22 2006 -0500
+++ b/arch/powerpc/platforms/xen/hcall.c Tue Jun 06 19:50:26 2006 -0400
@@ -151,7 +151,7 @@ int HYPERVISOR_grant_table_op(unsigned i
return rc;
set_xen_guest_handle(setup.frame_list, (void
*)__pa(frame_list));
- op = &setup;
+ memcpy(op, &setup, sizeof(setup));
}
break;
case GNTTABOP_dump_table:
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [XenPPC] [linux-ppc-2.6] [ppc] memcpy() the local setup back into the original op pointer,
Xen patchbot-linux-ppc-2 . 6 <=
|
|
|
|
|