22 lines
755 B
Diff
22 lines
755 B
Diff
# HG changeset patch
|
|
# User kfraser@localhost.localdomain
|
|
# Date 1182786759 -3600
|
|
# Node ID 3f76b2f76c2ad605c448a5535780a17cbefd0b05
|
|
# Parent 015d9abeacfb39c73c9aa488c2def2f66ab06e2b
|
|
ioemu: Fix ifdef __x86_64__
|
|
Signed-off-by: Keir Fraser <keir@xensource.com>
|
|
|
|
Index: xen-3.1-testing/tools/ioemu/target-i386-dm/exec-dm.c
|
|
===================================================================
|
|
--- xen-3.1-testing.orig/tools/ioemu/target-i386-dm/exec-dm.c
|
|
+++ xen-3.1-testing/tools/ioemu/target-i386-dm/exec-dm.c
|
|
@@ -447,7 +447,7 @@ static void memcpy_words(void *dst, void
|
|
{
|
|
asm (
|
|
" movl %%edx,%%ecx \n"
|
|
-#ifdef __x86_64
|
|
+#ifdef __x86_64__
|
|
" shrl $3,%%ecx \n"
|
|
" andl $7,%%edx \n"
|
|
" rep movsq \n"
|