From 308f4c1e0c8f17dea3204a84329c22c9cfdfb70c Mon Sep 17 00:00:00 2001 From: "Emilio G. Cota" Date: Tue, 18 Dec 2018 06:07:11 -0500 Subject: [PATCH] include: move exec/tb-hash-xx.h to qemu/xxhash.h Backports commit fe656e3185fa10973d43492c867643e80fa433cd from qemu --- qemu/include/exec/tb-hash.h | 2 +- qemu/include/{exec/tb-hash-xx.h => qemu/xxhash.h} | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename qemu/include/{exec/tb-hash-xx.h => qemu/xxhash.h} (97%) diff --git a/qemu/include/exec/tb-hash.h b/qemu/include/exec/tb-hash.h index 83b34c5a..dcab7016 100644 --- a/qemu/include/exec/tb-hash.h +++ b/qemu/include/exec/tb-hash.h @@ -21,7 +21,7 @@ #define EXEC_TB_HASH_H #include "exec/exec-all.h" -#include "exec/tb-hash-xx.h" +#include "qemu/xxhash.h" #ifdef CONFIG_SOFTMMU diff --git a/qemu/include/exec/tb-hash-xx.h b/qemu/include/qemu/xxhash.h similarity index 97% rename from qemu/include/exec/tb-hash-xx.h rename to qemu/include/qemu/xxhash.h index 98ce4b62..fe35dde3 100644 --- a/qemu/include/exec/tb-hash-xx.h +++ b/qemu/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, uint64_t cd, uint32_t e, return qemu_xxhash7(ab, cd, e, f, 0); } -#endif /* EXEC_TB_HASH_XX_H */ +#endif /* QEMU_XXHASH_H */