Linux 6.13-rc4
[linux.git] / arch / sh / include / asm / vermagic.h
blob5b2057c39170ede3d87d92c1801968e590e4cad5
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef _ASM_VERMAGIC_H
4 #define _ASM_VERMAGIC_H
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
28 #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
30 #endif /* _ASM_VERMAGIC_H */