aboutsummaryrefslogtreecommitdiff
path: root/util/host-utils.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-09-03 11:44:56 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2014-09-09 13:13:05 +0200
commit2ceee4b0521241eb8595a5501b54bb3534ebb99a (patch)
treef11345d78457570c997371abfd89df75be5fdc23 /util/host-utils.c
parentf6e08302989ad215977faba96fbf6028e9b3c87a (diff)
util: Don't link host-utils.o if it's empty
Reported-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/host-utils.c')
-rw-r--r--util/host-utils.c2
1 files changed, 0 insertions, 2 deletions
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 */