Linux Audio

Check our new training course

Loading...
v4.17
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _ASM_X86_MODULE_H
 3#define _ASM_X86_MODULE_H
 4
 5#include <asm-generic/module.h>
 6#include <asm/orc_types.h>
 7
 8struct mod_arch_specific {
 9#ifdef CONFIG_UNWINDER_ORC
10	unsigned int num_orcs;
11	int *orc_unwind_ip;
12	struct orc_entry *orc_unwind;
13#endif
14};
15
16#ifdef CONFIG_X86_64
17/* X86_64 does not define MODULE_PROC_FAMILY */
18#elif defined CONFIG_M486
19#define MODULE_PROC_FAMILY "486 "
20#elif defined CONFIG_M586
21#define MODULE_PROC_FAMILY "586 "
22#elif defined CONFIG_M586TSC
23#define MODULE_PROC_FAMILY "586TSC "
24#elif defined CONFIG_M586MMX
25#define MODULE_PROC_FAMILY "586MMX "
26#elif defined CONFIG_MCORE2
27#define MODULE_PROC_FAMILY "CORE2 "
28#elif defined CONFIG_MATOM
29#define MODULE_PROC_FAMILY "ATOM "
30#elif defined CONFIG_M686
31#define MODULE_PROC_FAMILY "686 "
32#elif defined CONFIG_MPENTIUMII
33#define MODULE_PROC_FAMILY "PENTIUMII "
34#elif defined CONFIG_MPENTIUMIII
35#define MODULE_PROC_FAMILY "PENTIUMIII "
36#elif defined CONFIG_MPENTIUMM
37#define MODULE_PROC_FAMILY "PENTIUMM "
38#elif defined CONFIG_MPENTIUM4
39#define MODULE_PROC_FAMILY "PENTIUM4 "
40#elif defined CONFIG_MK6
41#define MODULE_PROC_FAMILY "K6 "
42#elif defined CONFIG_MK7
43#define MODULE_PROC_FAMILY "K7 "
44#elif defined CONFIG_MK8
45#define MODULE_PROC_FAMILY "K8 "
46#elif defined CONFIG_MELAN
47#define MODULE_PROC_FAMILY "ELAN "
48#elif defined CONFIG_MCRUSOE
49#define MODULE_PROC_FAMILY "CRUSOE "
50#elif defined CONFIG_MEFFICEON
51#define MODULE_PROC_FAMILY "EFFICEON "
52#elif defined CONFIG_MWINCHIPC6
53#define MODULE_PROC_FAMILY "WINCHIPC6 "
54#elif defined CONFIG_MWINCHIP3D
55#define MODULE_PROC_FAMILY "WINCHIP3D "
56#elif defined CONFIG_MCYRIXIII
57#define MODULE_PROC_FAMILY "CYRIXIII "
58#elif defined CONFIG_MVIAC3_2
59#define MODULE_PROC_FAMILY "VIAC3-2 "
60#elif defined CONFIG_MVIAC7
61#define MODULE_PROC_FAMILY "VIAC7 "
62#elif defined CONFIG_MGEODEGX1
63#define MODULE_PROC_FAMILY "GEODEGX1 "
64#elif defined CONFIG_MGEODE_LX
65#define MODULE_PROC_FAMILY "GEODE "
66#else
67#error unknown processor family
68#endif
69
70#ifdef CONFIG_X86_32
71# define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
72#endif
73
74#endif /* _ASM_X86_MODULE_H */
v3.15
 
 1#ifndef _ASM_X86_MODULE_H
 2#define _ASM_X86_MODULE_H
 3
 4#include <asm-generic/module.h>
 
 
 
 
 
 
 
 
 
 5
 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
59
60#ifdef CONFIG_X86_32
61# define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
62#endif
63
64#endif /* _ASM_X86_MODULE_H */