m68k: use asm-generic/unaligned.h
authorJens Wiklander <jens.wiklander@linaro.org>
Mon, 22 May 2023 12:22:34 +0000 (14:22 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 31 May 2023 18:05:34 +0000 (14:05 -0400)
commit456736346aa61e872c6241811eca6c6cab49e022
tree063a7462d7c6e111fa2debdb7dd0a4226bb1f9c5
parentf2c169af340aada15e904d33f834fcbf9bb5586e
m68k: use asm-generic/unaligned.h

M68k essentially duplicates the content of asm-generic/unaligned.h, with
an exception for non-Coldfire configurations. Coldfire configurations
are apparently able to do unaligned accesses. But in an attempt to clean
up and handle unaligned accesses in the same way we ignore that and use
the common asm-generic/unaligned.h directly instead.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Angelo Dureghello <angelo@kernel-space.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
arch/m68k/include/asm/unaligned.h