diff options
author | Keir Fraser <keir@xen.org> | 2012-09-12 13:29:30 +0100 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2012-09-12 13:29:30 +0100 |
commit | 5d1181a5ea5e0f11d481a94b16ed00d883f9726e (patch) | |
tree | 4b43be5829873f2ec1a1b2d0f7e26b15dffb11c6 /xen/arch/x86/time.c | |
parent | b314cd733413babc5978b819793ad5c77f094adf (diff) | |
download | xen-5d1181a5ea5e0f11d481a94b16ed00d883f9726e.tar.gz xen-5d1181a5ea5e0f11d481a94b16ed00d883f9726e.tar.bz2 xen-5d1181a5ea5e0f11d481a94b16ed00d883f9726e.zip |
xen: Remove x86_32 build target.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/time.c')
-rw-r--r-- | xen/arch/x86/time.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/xen/arch/x86/time.c b/xen/arch/x86/time.c index f944e3d8f3..873a2f55ec 100644 --- a/xen/arch/x86/time.c +++ b/xen/arch/x86/time.c @@ -120,31 +120,15 @@ static inline u32 mul_frac(u32 multiplicand, u32 multiplier) static inline u64 scale_delta(u64 delta, struct time_scale *scale) { u64 product; -#ifdef CONFIG_X86_32 - u32 tmp1, tmp2; -#endif if ( scale->shift < 0 ) delta >>= -scale->shift; else delta <<= scale->shift; -#ifdef CONFIG_X86_32 - asm ( - "mul %5 ; " - "mov %4,%%eax ; " - "mov %%edx,%4 ; " - "mul %5 ; " - "xor %5,%5 ; " - "add %4,%%eax ; " - "adc %5,%%edx ; " - : "=A" (product), "=r" (tmp1), "=r" (tmp2) - : "a" ((u32)delta), "1" ((u32)(delta >> 32)), "2" (scale->mul_frac) ); -#else asm ( "mul %%rdx ; shrd $32,%%rdx,%%rax" : "=a" (product) : "0" (delta), "d" ((u64)scale->mul_frac) ); -#endif return product; } |