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 # else 14 # error unknown processor family 15 # endif 16 #else 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 " 23 # else 24 # error unknown processor family 25 # endif 26 #endif 27 28 #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY 29 30 #endif /* _ASM_VERMAGIC_H */ 31