mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-30 21:09:38 +03:00
12 lines
227 B
C
12 lines
227 B
C
|
#ifdef __sparc__
|
||
|
#include <stdint.h>
|
||
|
#include <sys/byteorder.h>
|
||
|
#include "include/sparc_compat.h"
|
||
|
uint64_t __bswapdi2(uint64_t in) {
|
||
|
return (BSWAP_64(in));
|
||
|
}
|
||
|
uint32_t __bswapsi2(uint32_t in) {
|
||
|
return (BSWAP_32(in));
|
||
|
}
|
||
|
#endif
|