Merge tag 'locking-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / sh / include / asm / unaligned.h
blob0c92e2c73af418c18c5ab7bf0d4b125ac7be0d11
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_SH_UNALIGNED_H
3 #define _ASM_SH_UNALIGNED_H
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
13 #endif /* _ASM_SH_UNALIGNED_H */