Go to the documentation of this file. 1 #ifndef _ASM_X86_PVCLOCK_H
2 #define _ASM_X86_PVCLOCK_H
5 #include <asm/pvclock-abi.h>
20 static inline u64 pvclock_scale_delta(
u64 delta,
u32 mul_frac,
int shift)
43 :
"=A" (product),
"=r" (tmp1),
"=r" (tmp2)
44 :
"a" ((
u32)delta),
"1" ((
u32)(delta >> 32)),
"2" (mul_frac) );
45 #elif defined(__x86_64__)
47 "mulq %[mul_frac] ; shrd $32, %[hi], %[lo]"
51 [mul_frac]
"rm"((
u64)mul_frac));