[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/7] fix the prototype of muls64/mulu64
From: |
Laurent Vivier |
Subject: |
[PULL 1/7] fix the prototype of muls64/mulu64 |
Date: |
Tue, 7 Jul 2020 12:52:49 +0200 |
From: Lijun Pan <ljp@linux.ibm.com>
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>
---
include/qemu/host-utils.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/qemu/host-utils.h b/include/qemu/host-utils.h
index 4cd170e6cd53..cdca2991d8a8 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);
--
2.26.2
- [PULL 0/7] Trivial branch for 5.1 patches, Laurent Vivier, 2020/07/07
- [PULL 1/7] fix the prototype of muls64/mulu64,
Laurent Vivier <=
- [PULL 2/7] trivial: Respect alphabetical order of .o files in Makefile.objs, Laurent Vivier, 2020/07/07
- [PULL 3/7] .mailmap: Update Alexander Graf email address, Laurent Vivier, 2020/07/07
- [PULL 4/7] MAINTAINERS: Update Radoslaw Biernacki email address, Laurent Vivier, 2020/07/07
- [PULL 5/7] util/qemu-option: Document the get_opt_value() function, Laurent Vivier, 2020/07/07
- [PULL 6/7] intel_iommu: "aw-bits" error message still refers to "x-aw-bits", Laurent Vivier, 2020/07/07
- [PULL 7/7] net/tap-solaris.c: Include qemu-common.h for TFR macro, Laurent Vivier, 2020/07/07
- Re: [PULL 0/7] Trivial branch for 5.1 patches, Peter Maydell, 2020/07/09