Linux 3.11-rc3
[cris-mirror.git] / arch / x86 / include / asm / module.h
blobe3b7819caeef1c813c309c04519af9ef93183a9a
1 #ifndef _ASM_X86_MODULE_H
2 #define _ASM_X86_MODULE_H
4 #include <asm-generic/module.h>
6 #ifdef CONFIG_X86_64
7 /* X86_64 does not define MODULE_PROC_FAMILY */
8 #elif defined CONFIG_M486
9 #define MODULE_PROC_FAMILY "486 "
10 #elif defined CONFIG_M586
11 #define MODULE_PROC_FAMILY "586 "
12 #elif defined CONFIG_M586TSC
13 #define MODULE_PROC_FAMILY "586TSC "
14 #elif defined CONFIG_M586MMX
15 #define MODULE_PROC_FAMILY "586MMX "
16 #elif defined CONFIG_MCORE2
17 #define MODULE_PROC_FAMILY "CORE2 "
18 #elif defined CONFIG_MATOM
19 #define MODULE_PROC_FAMILY "ATOM "
20 #elif defined CONFIG_M686
21 #define MODULE_PROC_FAMILY "686 "
22 #elif defined CONFIG_MPENTIUMII
23 #define MODULE_PROC_FAMILY "PENTIUMII "
24 #elif defined CONFIG_MPENTIUMIII
25 #define MODULE_PROC_FAMILY "PENTIUMIII "
26 #elif defined CONFIG_MPENTIUMM
27 #define MODULE_PROC_FAMILY "PENTIUMM "
28 #elif defined CONFIG_MPENTIUM4
29 #define MODULE_PROC_FAMILY "PENTIUM4 "
30 #elif defined CONFIG_MK6
31 #define MODULE_PROC_FAMILY "K6 "
32 #elif defined CONFIG_MK7
33 #define MODULE_PROC_FAMILY "K7 "
34 #elif defined CONFIG_MK8
35 #define MODULE_PROC_FAMILY "K8 "
36 #elif defined CONFIG_MELAN
37 #define MODULE_PROC_FAMILY "ELAN "
38 #elif defined CONFIG_MCRUSOE
39 #define MODULE_PROC_FAMILY "CRUSOE "
40 #elif defined CONFIG_MEFFICEON
41 #define MODULE_PROC_FAMILY "EFFICEON "
42 #elif defined CONFIG_MWINCHIPC6
43 #define MODULE_PROC_FAMILY "WINCHIPC6 "
44 #elif defined CONFIG_MWINCHIP3D
45 #define MODULE_PROC_FAMILY "WINCHIP3D "
46 #elif defined CONFIG_MCYRIXIII
47 #define MODULE_PROC_FAMILY "CYRIXIII "
48 #elif defined CONFIG_MVIAC3_2
49 #define MODULE_PROC_FAMILY "VIAC3-2 "
50 #elif defined CONFIG_MVIAC7
51 #define MODULE_PROC_FAMILY "VIAC7 "
52 #elif defined CONFIG_MGEODEGX1
53 #define MODULE_PROC_FAMILY "GEODEGX1 "
54 #elif defined CONFIG_MGEODE_LX
55 #define MODULE_PROC_FAMILY "GEODE "
56 #else
57 #error unknown processor family
58 #endif
60 #ifdef CONFIG_X86_32
61 # define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
62 #endif
64 #endif /* _ASM_X86_MODULE_H */