xref: /OK3568_Linux_fs/kernel/arch/sh/include/asm/unaligned.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_SH_UNALIGNED_H
3 #define _ASM_SH_UNALIGNED_H
4 
5 #ifdef CONFIG_CPU_SH4A
6 /* SH-4A can handle unaligned loads in a relatively neutered fashion. */
7 #include <asm/unaligned-sh4a.h>
8 #else
9 /* Otherwise, SH can't handle unaligned accesses. */
10 #include <asm-generic/unaligned.h>
11 #endif
12 
13 #endif /* _ASM_SH_UNALIGNED_H */
14