]> xenbits.xensource.com Git - xen.git/commit
lib: introduce xxhash
authorJan Beulich <jbeulich@suse.com>
Mon, 18 Jan 2021 11:10:34 +0000 (12:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 18 Jan 2021 11:10:34 +0000 (12:10 +0100)
commit35d2960ae65f28106fdc5c2130f5f08fadca0e4c
tree108370673989fc129a3d98f81af3cd472e3024ef
parent7c9f81687ad611515474b1c17afc2f79f19faef5
lib: introduce xxhash

Taken from Linux at commit d89775fc929c ("lib/: replace HTTP links with
HTTPS ones"), but split into separate 32-bit and 64-bit sources, since
the immediate consumer (zstd) will need only the latter.

Note that the building of this code is restricted to x86 for now because
of the need to sort asm/unaligned.h for Arm.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/xen/xxhash.h [new file with mode: 0644]
xen/lib/Makefile
xen/lib/xxhash32.c [new file with mode: 0644]
xen/lib/xxhash64.c [new file with mode: 0644]