1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_M68K_UNALIGNED_H
3 #define _ASM_M68K_UNALIGNED_H
6 #ifdef CONFIG_CPU_HAS_NO_UNALIGNED
7 #include <linux/unaligned/be_struct.h>
8 #include <linux/unaligned/le_byteshift.h>
9 #include <linux/unaligned/generic.h>
11 #define get_unaligned __get_unaligned_be
12 #define put_unaligned __put_unaligned_be
16 * The m68k can do unaligned accesses itself.
18 #include <linux/unaligned/access_ok.h>
19 #include <linux/unaligned/generic.h>
21 #define get_unaligned __get_unaligned_be
22 #define put_unaligned __put_unaligned_be
26 #endif /* _ASM_M68K_UNALIGNED_H */