diff options
author | Masahisa Kojima <masahisa.kojima@linaro.org> | 2021-11-03 05:04:09 +0300 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-11-07 20:36:55 +0300 |
commit | 14cbb330fe8e2723871926a3806954393da83cce (patch) | |
tree | 78d18784419b44ae18a6a443229073dc580f8b00 /include/tpm-v2.h | |
parent | 50b05eb6060a67d2cdf9b5114c4575e3f803551e (diff) | |
download | u-boot-14cbb330fe8e2723871926a3806954393da83cce.tar.xz |
efi_loader: use byteshift unaligned access helper
Calling unaligned/access-ok.h version of put_unaligned_le64()
causes data abort in arm 32-bit QEMU.
The similar issue also occurs in linux kernel,
unaligned/access-ok.h is no longer used in linux kernel[1].
This commit uses the unaligned/be_byteshift.h and
unaligned/le_byteshift.h helper instead of unaligned/access-ok.h.
[1]https://lore.kernel.org/all/20210507220813.365382-8-arnd@kernel.org/
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include/tpm-v2.h')
0 files changed, 0 insertions, 0 deletions