[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix the x86/64 build.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 7d84bc7077363bc72525c01a5ca1baf572ac075a # Parent 61af128313c8b5161c7e975c6cecfacf60d2b847 Fix the x86/64 build. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> diff -r 61af128313c8 -r 7d84bc707736 linux-2.6-xen-sparse/arch/xen/i386/kernel/time.c --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/time.c Mon Aug 8 11:10:54 2005 +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/time.c Mon Aug 8 12:07:19 2005 @@ -181,15 +181,15 @@ delta <<= shift; __asm__ ( - "pushl %%edx ; " - "mull %3 ; " - "popl %%eax ; " - "pushl %%edx ; " - "mull %3 ; " - "popl %3 ; " - "addl %3,%%eax ; " - "xorl %3,%3 ; " - "adcl %3,%%edx ; " + "push %%edx ; " + "mul %3 ; " + "pop %%eax ; " + "push %%edx ; " + "mul %3 ; " + "pop %3 ; " + "add %3,%%eax ; " + "xor %3,%3 ; " + "adc %3,%%edx ; " : "=A" (product), "=r" (tmp) : "A" (delta), "1" (mul_frac) ); diff -r 61af128313c8 -r 7d84bc707736 xen/arch/x86/time.c --- a/xen/arch/x86/time.c Mon Aug 8 11:10:54 2005 +++ b/xen/arch/x86/time.c Mon Aug 8 12:07:19 2005 @@ -111,15 +111,15 @@ delta <<= scale->shift; __asm__ ( - "pushl %%edx ; " - "mull %3 ; " - "popl %%eax ; " - "pushl %%edx ; " - "mull %3 ; " - "popl %3 ; " - "addl %3,%%eax ; " - "xorl %3,%3 ; " - "adcl %3,%%edx ; " + "push %%edx ; " + "mul %3 ; " + "pop %%eax ; " + "push %%edx ; " + "mul %3 ; " + "pop %3 ; " + "add %3,%%eax ; " + "xor %3,%3 ; " + "adc %3,%%edx ; " : "=A" (product), "=r" (tmp) : "A" (delta), "1" (scale->mul_frac) ); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |