projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b76ce2
)
x86: explicit suffix in inline assembler (for clang).
author
Tim Deegan
<tim@xen.org>
Thu, 14 Feb 2013 13:20:06 +0000
(14:20 +0100)
committer
Tim Deegan
<tim@xen.org>
Thu, 14 Feb 2013 13:20:06 +0000
(14:20 +0100)
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>
xen/arch/x86/time.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/time.c
b/xen/arch/x86/time.c
index 4331386c69088c234c53ca1ed841ab6b77922602..84c67a721f792c0b9ddfed84bae85f60a8aaa19d 100644
(file)
--- 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"
+ "mul
q
%2 ; shrd $32,%1,%0"
: "=a" (product), "=d" (delta)
: "rm" (delta), "0" ((u64)scale->mul_frac) );