From 2ceee4b0521241eb8595a5501b54bb3534ebb99a Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Wed, 3 Sep 2014 11:44:56 +0800 Subject: util: Don't link host-utils.o if it's empty Reported-by: Peter Maydell Tested-by: Peter Maydell Signed-off-by: Fam Zheng Signed-off-by: Paolo Bonzini --- util/host-utils.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'util/host-utils.c') diff --git a/util/host-utils.c b/util/host-utils.c index ee57ef55f6..102e5bf302 100644 --- a/util/host-utils.c +++ b/util/host-utils.c @@ -28,7 +28,6 @@ #include "qemu/host-utils.h" /* Long integer helpers */ -#ifndef CONFIG_INT128 static inline void mul64(uint64_t *plow, uint64_t *phigh, uint64_t a, uint64_t b) { @@ -161,4 +160,3 @@ int divs128(int64_t *plow, int64_t *phigh, int64_t divisor) return overflow; } -#endif /* !CONFIG_INT128 */ -- cgit 1.4.1