]> git.proxmox.com Git - mirror_zfs.git/blob - module/zstd/zstd_sparc.c
Fix corruption caused by mmap flushing problems
[mirror_zfs.git] / module / zstd / zstd_sparc.c
1 #ifdef __sparc__
2 #include <stdint.h>
3 #include <sys/byteorder.h>
4 #include "include/sparc_compat.h"
5 uint64_t __bswapdi2(uint64_t in) {
6 return (BSWAP_64(in));
7 }
8 uint32_t __bswapsi2(uint32_t in) {
9 return (BSWAP_32(in));
10 }
11 #endif