]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
include: move exec/tb-hash-xx.h to qemu/xxhash.h
authorEmilio G. Cota <cota@braap.org>
Sat, 20 Oct 2018 22:49:53 +0000 (18:49 -0400)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 17 Dec 2018 03:04:44 +0000 (06:04 +0300)
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/tb-hash.h
include/qemu/xxhash.h [moved from include/exec/tb-hash-xx.h with 97% similarity]
tests/qht-bench.c
util/qsp.c

index 731ba4c27287cb55d14e11dba980fad2027a0c64..4f3a37d927dc67df4bd1e5b8c8ed3c00506450ca 100644 (file)
@@ -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
 
similarity index 97%
rename from include/exec/tb-hash-xx.h
rename to include/qemu/xxhash.h
index 98ce4b628a611f7e725607f73790bd3db5ec90cb..fe35dde328f94ec43e7a3c76e3ee8ef2a47d4cc0 100644 (file)
@@ -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, uint64_t cd, uint32_t e,
     return qemu_xxhash7(ab, cd, e, f, 0);
 }
 
-#endif /* EXEC_TB_HASH_XX_H */
+#endif /* QEMU_XXHASH_H */
index 0278f4da044861adfe0d90826c6bd6ea5f736759..ab4e7081801f1f350d656a39634d15383becacb8 100644 (file)
@@ -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;
index dc29c41fde32271d91cb3abd05851f7bbac73541..410f1ba0048eb52b16c493467ae0ebeb6067896d 100644 (file)
@@ -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,