From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Lijun Pan <ljp@linux.ibm.com>,
Richard Henderson <richard.henderson@linaro.org>,
Michael Tokarev <mjt@tls.msk.ru>,
Laurent Vivier <laurent@vivier.eu>
Subject: [PULL 1/7] fix the prototype of muls64/mulu64
Date: Tue, 7 Jul 2020 12:52:49 +0200 [thread overview]
Message-ID: <20200707105255.362318-2-laurent@vivier.eu> (raw)
In-Reply-To: <20200707105255.362318-1-laurent@vivier.eu>
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
next prev parent reply other threads:[~2020-07-07 10:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-07 10:52 [PULL 0/7] Trivial branch for 5.1 patches Laurent Vivier
2020-07-07 10:52 ` Laurent Vivier [this message]
2020-07-07 10:52 ` [PULL 2/7] trivial: Respect alphabetical order of .o files in Makefile.objs Laurent Vivier
2020-07-07 10:52 ` [PULL 3/7] .mailmap: Update Alexander Graf email address Laurent Vivier
2020-07-07 10:52 ` [PULL 4/7] MAINTAINERS: Update Radoslaw Biernacki " Laurent Vivier
2020-07-07 10:52 ` [PULL 5/7] util/qemu-option: Document the get_opt_value() function Laurent Vivier
2020-07-07 10:52 ` [PULL 6/7] intel_iommu: "aw-bits" error message still refers to "x-aw-bits" Laurent Vivier
2020-07-07 10:52 ` [PULL 7/7] net/tap-solaris.c: Include qemu-common.h for TFR macro Laurent Vivier
2020-07-09 15:49 ` [PULL 0/7] Trivial branch for 5.1 patches Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200707105255.362318-2-laurent@vivier.eu \
--to=laurent@vivier.eu \
--cc=ljp@linux.ibm.com \
--cc=mjt@tls.msk.ru \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).