blob: 0c92e2c73af418c18c5ab7bf0d4b125ac7be0d11 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* 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 */