18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _ASM_SH_UNALIGNED_H
38c2ecf20Sopenharmony_ci#define _ASM_SH_UNALIGNED_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#ifdef CONFIG_CPU_SH4A
68c2ecf20Sopenharmony_ci/* SH-4A can handle unaligned loads in a relatively neutered fashion. */
78c2ecf20Sopenharmony_ci#include <asm/unaligned-sh4a.h>
88c2ecf20Sopenharmony_ci#else
98c2ecf20Sopenharmony_ci/* Otherwise, SH can't handle unaligned accesses. */
108c2ecf20Sopenharmony_ci#include <asm-generic/unaligned.h>
118c2ecf20Sopenharmony_ci#endif
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#endif /* _ASM_SH_UNALIGNED_H */
14