1 #ifndef _ASM_SH_MODULE_H
2 #define _ASM_SH_MODULE_H
4 #include <asm-generic/module.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 "
13 # elif defined CONFIG_CPU_SH5
14 # define MODULE_PROC_FAMILY "SH5LE "
16 # error unknown processor family
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 "
28 # error unknown processor family
32 #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
34 #endif /* _ASM_SH_MODULE_H */