From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMurc-0006Lu-PO for qemu-devel@nongnu.org; Wed, 14 Nov 2018 08:05:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMurU-0008Bn-Nb for qemu-devel@nongnu.org; Wed, 14 Nov 2018 08:05:48 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:51270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gMurS-000853-PE for qemu-devel@nongnu.org; Wed, 14 Nov 2018 08:05:40 -0500 Received: by mail-wm1-x32d.google.com with SMTP id w7-v6so15364483wmc.1 for ; Wed, 14 Nov 2018 05:05:37 -0800 (PST) References: <20181025172057.20414-1-cota@braap.org> <20181025172057.20414-6-cota@braap.org> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <20181025172057.20414-6-cota@braap.org> Date: Wed, 14 Nov 2018 13:05:35 +0000 Message-ID: <871s7nermo.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC 05/48] include: move exec/tb-hash-xx.h to qemu/xxhash.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Emilio G. Cota" Cc: qemu-devel@nongnu.org, Pavel Dovgalyuk , =?utf-8?Q?Llu=C3=ADs?= Vilanova , Peter Maydell , Stefan Hajnoczi Emilio G. Cota writes: > Signed-off-by: Emilio G. Cota Reviewed-by: Alex Benn=C3=A9e > --- > include/exec/tb-hash.h | 2 +- > include/{exec/tb-hash-xx.h =3D> qemu/xxhash.h} | 6 +++--- > tests/qht-bench.c | 2 +- > util/qsp.c | 2 +- > 4 files changed, 6 insertions(+), 6 deletions(-) > rename include/{exec/tb-hash-xx.h =3D> qemu/xxhash.h} (97%) > > diff --git a/include/exec/tb-hash.h b/include/exec/tb-hash.h > index 731ba4c272..4f3a37d927 100644 > --- a/include/exec/tb-hash.h > +++ b/include/exec/tb-hash.h > @@ -20,7 +20,7 @@ > #ifndef EXEC_TB_HASH_H > #define EXEC_TB_HASH_H > > -#include "exec/tb-hash-xx.h" > +#include "qemu/xxhash.h" > > #ifdef CONFIG_SOFTMMU > > diff --git a/include/exec/tb-hash-xx.h b/include/qemu/xxhash.h > similarity index 97% > rename from include/exec/tb-hash-xx.h > rename to include/qemu/xxhash.h > index 98ce4b628a..fe35dde328 100644 > --- a/include/exec/tb-hash-xx.h > +++ b/include/qemu/xxhash.h > @@ -31,8 +31,8 @@ > * - xxHash source repository : https://github.com/Cyan4973/xxHash > */ > > -#ifndef EXEC_TB_HASH_XX_H > -#define EXEC_TB_HASH_XX_H > +#ifndef QEMU_XXHASH_H > +#define QEMU_XXHASH_H > > #include "qemu/bitops.h" > > @@ -119,4 +119,4 @@ static inline uint32_t qemu_xxhash6(uint64_t ab, uint= 64_t cd, uint32_t e, > return qemu_xxhash7(ab, cd, e, f, 0); > } > > -#endif /* EXEC_TB_HASH_XX_H */ > +#endif /* QEMU_XXHASH_H */ > diff --git a/tests/qht-bench.c b/tests/qht-bench.c > index 2ea132fe57..4d885ca303 100644 > --- a/tests/qht-bench.c > +++ b/tests/qht-bench.c > @@ -9,7 +9,7 @@ > #include "qemu/atomic.h" > #include "qemu/qht.h" > #include "qemu/rcu.h" > -#include "exec/tb-hash-xx.h" > +#include "qemu/xxhash.h" > > struct thread_stats { > size_t rd; > diff --git a/util/qsp.c b/util/qsp.c > index dc29c41fde..410f1ba004 100644 > --- a/util/qsp.c > +++ b/util/qsp.c > @@ -61,7 +61,7 @@ > #include "qemu/timer.h" > #include "qemu/qht.h" > #include "qemu/rcu.h" > -#include "exec/tb-hash-xx.h" > +#include "qemu/xxhash.h" > > enum QSPType { > QSP_MUTEX, -- Alex Benn=C3=A9e