1 /* SPDX-License-Identifier: GPL-2.0 */ 2 3 #ifndef _ASM_VERMAGIC_H 4 #define _ASM_VERMAGIC_H 5 6 #ifdef CONFIG_CPU_LITTLE_ENDIAN 7 # ifdef CONFIG_CPU_SH2 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 " 13 # elif defined CONFIG_CPU_SH5 14 # define MODULE_PROC_FAMILY "SH5LE " 15 # else 16 # error unknown processor family 17 # endif 18 #else 19 # ifdef CONFIG_CPU_SH2 20 # define MODULE_PROC_FAMILY "SH2BE " 21 # elif defined CONFIG_CPU_SH3 22 # define MODULE_PROC_FAMILY "SH3BE " 23 # elif defined CONFIG_CPU_SH4 24 # define MODULE_PROC_FAMILY "SH4BE " 25 # elif defined CONFIG_CPU_SH5 26 # define MODULE_PROC_FAMILY "SH5BE " 27 # else 28 # error unknown processor family 29 # endif 30 #endif 31 32 #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY 33 34 #endif /* _ASM_VERMAGIC_H */ 35