1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef _ASM_VERMAGIC_H
4 #define _ASM_VERMAGIC_H
6 #ifdef CONFIG_CPU_LITTLE_ENDIAN
8 # define MODULE_PROC_FAMILY "SH2LE "
9 # elif defined CONFIG_CPU_SH3
10 # define MODULE_PROC_FAMILY "SH3LE "
11 # elif defined CONFIG_CPU_SH4
12 # define MODULE_PROC_FAMILY "SH4LE "
14 # error unknown processor family
17 # ifdef CONFIG_CPU_SH2
18 # define MODULE_PROC_FAMILY "SH2BE "
19 # elif defined CONFIG_CPU_SH3
20 # define MODULE_PROC_FAMILY "SH3BE "
21 # elif defined CONFIG_CPU_SH4
22 # define MODULE_PROC_FAMILY "SH4BE "
24 # error unknown processor family
28 #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
30 #endif /* _ASM_VERMAGIC_H */