diff options
author | Tim Deegan <tim@xen.org> | 2013-02-14 14:20:06 +0100 |
---|---|---|
committer | Tim Deegan <tim@xen.org> | 2013-02-14 14:20:06 +0100 |
commit | 59a28b5f045331641cbf0c1fc8d5d67afe328939 (patch) | |
tree | cb3fb7c22a1aa2e1c5bb2954f61afb016321dd9f /xen/arch/x86/time.c | |
parent | 0b76ce20de85ad7c23c47ee3275020859b91d46b (diff) | |
download | xen-59a28b5f045331641cbf0c1fc8d5d67afe328939.tar.gz xen-59a28b5f045331641cbf0c1fc8d5d67afe328939.tar.bz2 xen-59a28b5f045331641cbf0c1fc8d5d67afe328939.zip |
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 <tim@xen.org>
Committed-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/arch/x86/time.c')
-rw-r--r-- | xen/arch/x86/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) ); |