diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-i386/module.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-i386/module.h')
-rw-r--r-- | include/asm-i386/module.h | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/include/asm-i386/module.h b/include/asm-i386/module.h new file mode 100644 index 000000000000..508865e26308 --- /dev/null +++ b/include/asm-i386/module.h | |||
@@ -0,0 +1,75 @@ | |||
1 | #ifndef _ASM_I386_MODULE_H | ||
2 | #define _ASM_I386_MODULE_H | ||
3 | |||
4 | /* x86 is simple */ | ||
5 | struct mod_arch_specific | ||
6 | { | ||
7 | }; | ||
8 | |||
9 | #define Elf_Shdr Elf32_Shdr | ||
10 | #define Elf_Sym Elf32_Sym | ||
11 | #define Elf_Ehdr Elf32_Ehdr | ||
12 | |||
13 | #ifdef CONFIG_M386 | ||
14 | #define MODULE_PROC_FAMILY "386 " | ||
15 | #elif defined CONFIG_M486 | ||
16 | #define MODULE_PROC_FAMILY "486 " | ||
17 | #elif defined CONFIG_M586 | ||
18 | #define MODULE_PROC_FAMILY "586 " | ||
19 | #elif defined CONFIG_M586TSC | ||
20 | #define MODULE_PROC_FAMILY "586TSC " | ||
21 | #elif defined CONFIG_M586MMX | ||
22 | #define MODULE_PROC_FAMILY "586MMX " | ||
23 | #elif defined CONFIG_M686 | ||
24 | #define MODULE_PROC_FAMILY "686 " | ||
25 | #elif defined CONFIG_MPENTIUMII | ||
26 | #define MODULE_PROC_FAMILY "PENTIUMII " | ||
27 | #elif defined CONFIG_MPENTIUMIII | ||
28 | #define MODULE_PROC_FAMILY "PENTIUMIII " | ||
29 | #elif defined CONFIG_MPENTIUMM | ||
30 | #define MODULE_PROC_FAMILY "PENTIUMM " | ||
31 | #elif defined CONFIG_MPENTIUM4 | ||
32 | #define MODULE_PROC_FAMILY "PENTIUM4 " | ||
33 | #elif defined CONFIG_MK6 | ||
34 | #define MODULE_PROC_FAMILY "K6 " | ||
35 | #elif defined CONFIG_MK7 | ||
36 | #define MODULE_PROC_FAMILY "K7 " | ||
37 | #elif defined CONFIG_MK8 | ||
38 | #define MODULE_PROC_FAMILY "K8 " | ||
39 | #elif defined CONFIG_X86_ELAN | ||
40 | #define MODULE_PROC_FAMILY "ELAN " | ||
41 | #elif defined CONFIG_MCRUSOE | ||
42 | #define MODULE_PROC_FAMILY "CRUSOE " | ||
43 | #elif defined CONFIG_MEFFICEON | ||
44 | #define MODULE_PROC_FAMILY "EFFICEON " | ||
45 | #elif defined CONFIG_MWINCHIPC6 | ||
46 | #define MODULE_PROC_FAMILY "WINCHIPC6 " | ||
47 | #elif defined CONFIG_MWINCHIP2 | ||
48 | #define MODULE_PROC_FAMILY "WINCHIP2 " | ||
49 | #elif defined CONFIG_MWINCHIP3D | ||
50 | #define MODULE_PROC_FAMILY "WINCHIP3D " | ||
51 | #elif defined CONFIG_MCYRIXIII | ||
52 | #define MODULE_PROC_FAMILY "CYRIXIII " | ||
53 | #elif defined CONFIG_MVIAC3_2 | ||
54 | #define MODULE_PROC_FAMILY "VIAC3-2 " | ||
55 | #elif CONFIG_MGEODE | ||
56 | #define MODULE_PROC_FAMILY "GEODE " | ||
57 | #else | ||
58 | #error unknown processor family | ||
59 | #endif | ||
60 | |||
61 | #ifdef CONFIG_REGPARM | ||
62 | #define MODULE_REGPARM "REGPARM " | ||
63 | #else | ||
64 | #define MODULE_REGPARM "" | ||
65 | #endif | ||
66 | |||
67 | #ifdef CONFIG_4KSTACKS | ||
68 | #define MODULE_STACKSIZE "4KSTACKS " | ||
69 | #else | ||
70 | #define MODULE_STACKSIZE "" | ||
71 | #endif | ||
72 | |||
73 | #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_REGPARM MODULE_STACKSIZE | ||
74 | |||
75 | #endif /* _ASM_I386_MODULE_H */ | ||