mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
33a19e0fd9
Update the SA_COPY_DATA macro to check if architecture supports efficient unaligned memory accesses at compile time. Otherwise fallback to using the sa_copy_data() function. The kernel provided CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is used to determine availability in kernel space. In user space the x86_64, x86, powerpc, and sometimes arm architectures will define the HAVE_EFFICIENT_UNALIGNED_ACCESS macro. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #7642 Closes #7684 |
||
---|---|---|
.. | ||
ia32 | ||
rpc | ||
sys | ||
util | ||
assert.h | ||
atomic.h | ||
devid.h | ||
libdevinfo.h | ||
libgen.h | ||
libshare.h | ||
limits.h | ||
locale.h | ||
Makefile.am | ||
statcommon.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
stropts.h | ||
thread.h | ||
tzfile.h | ||
ucred.h | ||
umem.h | ||
unistd.h | ||
zone.h |