From: Tim Deegan Date: Thu, 14 Feb 2013 13:20:06 +0000 (+0100) Subject: x86: explicit suffix in inline assembler (for clang). X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~7293 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=59a28b5f045331641cbf0c1fc8d5d67afe328939;p=xen.git x86: explicit suffix in inline assembler (for clang). This fixes the clang build, and has no effect on gcc's output. Signed-off-by: Tim Deegan Committed-by: Jan Beulich --- diff --git a/xen/arch/x86/time.c b/xen/arch/x86/time.c index 4331386c69..84c67a721f 100644 --- a/xen/arch/x86/time.c +++ b/xen/arch/x86/time.c @@ -127,7 +127,7 @@ static inline u64 scale_delta(u64 delta, struct time_scale *scale) delta <<= scale->shift; asm ( - "mul %2 ; shrd $32,%1,%0" + "mulq %2 ; shrd $32,%1,%0" : "=a" (product), "=d" (delta) : "rm" (delta), "0" ((u64)scale->mul_frac) );