1 #ifndef _ASM_SH_MODULE_H
2 #define _ASM_SH_MODULE_H
4 #include <asm-generic/module.h>
6 #ifdef CONFIG_DWARF_UNWINDER
7 struct mod_arch_specific
{
8 struct list_head fde_list
;
9 struct list_head cie_list
;
13 #ifdef CONFIG_CPU_LITTLE_ENDIAN
14 # ifdef CONFIG_CPU_SH2
15 # define MODULE_PROC_FAMILY "SH2LE "
16 # elif defined CONFIG_CPU_SH3
17 # define MODULE_PROC_FAMILY "SH3LE "
18 # elif defined CONFIG_CPU_SH4
19 # define MODULE_PROC_FAMILY "SH4LE "
20 # elif defined CONFIG_CPU_SH5
21 # define MODULE_PROC_FAMILY "SH5LE "
23 # error unknown processor family
26 # ifdef CONFIG_CPU_SH2
27 # define MODULE_PROC_FAMILY "SH2BE "
28 # elif defined CONFIG_CPU_SH3
29 # define MODULE_PROC_FAMILY "SH3BE "
30 # elif defined CONFIG_CPU_SH4
31 # define MODULE_PROC_FAMILY "SH4BE "
32 # elif defined CONFIG_CPU_SH5
33 # define MODULE_PROC_FAMILY "SH5BE "
35 # error unknown processor family
39 #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
41 #endif /* _ASM_SH_MODULE_H */