^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef _ASM_SH_UNALIGNED_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define _ASM_SH_UNALIGNED_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #ifdef CONFIG_CPU_SH4A
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) /* SH-4A can handle unaligned loads in a relatively neutered fashion. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #include <asm/unaligned-sh4a.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) /* Otherwise, SH can't handle unaligned accesses. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <asm-generic/unaligned.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #endif /* _ASM_SH_UNALIGNED_H */