diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2023-05-22 14:22:38 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-05-31 14:05:34 -0400 |
commit | 60f1ba7b68f25a8d6eff65928ac87fdbfb80add4 (patch) | |
tree | f79172936480f220dacc9dab8bf8bebb1a80571f /board/sandbox/sandbox.c | |
parent | 51bcd02dceca12a5ff2c215bbae8c4ec8ac88b87 (diff) |
asm-generic: simplify unaligned.h
The get_unaligned()/put_unaligned() implementations are more
complex than necessary.
Move everything into one file and use a more compact implementation based
on packed struct access and byte swapping macros.
This patch is based on the Linux kernel commit 803f4e1eab7a
("asm-generic: simplify asm/unaligned.h") by Arnd Bergmann.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'board/sandbox/sandbox.c')
0 files changed, 0 insertions, 0 deletions