aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLijun Pan <ljp@linux.ibm.com>2020-07-01 18:43:44 -0500
committerLaurent Vivier <laurent@vivier.eu>2020-07-06 18:13:13 +0200
commitdb7b62e70667b06ae18b69382f4647f5673bbf75 (patch)
tree46f30b4cbd79b87091e3a85bb93a39479312679d
parenteb6490f544388dd24c0d054a96dd304bc7284450 (diff)
downloadqemu-db7b62e70667b06ae18b69382f4647f5673bbf75.zip
qemu-db7b62e70667b06ae18b69382f4647f5673bbf75.tar.gz
qemu-db7b62e70667b06ae18b69382f4647f5673bbf75.tar.bz2
fix the prototype of muls64/mulu64
The prototypes of muls64/mulu64 in host-utils.h should match the definitions in host-utils.c Signed-off-by: Lijun Pan <ljp@linux.ibm.com> Message-Id: <20200701234344.91843-10-ljp@linux.ibm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r--include/qemu/host-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qemu/host-utils.h b/include/qemu/host-utils.h
index 4cd170e..cdca299 100644
--- a/include/qemu/host-utils.h
+++ b/include/qemu/host-utils.h
@@ -77,8 +77,8 @@ static inline int divs128(int64_t *plow, int64_t *phigh, int64_t divisor)
}
}
#else
-void muls64(uint64_t *phigh, uint64_t *plow, int64_t a, int64_t b);
-void mulu64(uint64_t *phigh, uint64_t *plow, uint64_t a, uint64_t b);
+void muls64(uint64_t *plow, uint64_t *phigh, int64_t a, int64_t b);
+void mulu64(uint64_t *plow, uint64_t *phigh, uint64_t a, uint64_t b);
int divu128(uint64_t *plow, uint64_t *phigh, uint64_t divisor);
int divs128(int64_t *plow, int64_t *phigh, int64_t divisor);