Commit | Line | Data |
---|---|---|
8de51304 H |
1 | #include <linux/module.h> |
2 | #include <linux/vermagic.h> | |
3 | #include <linux/compiler.h> | |
4 | ||
5 | MODULE_INFO(vermagic, VERMAGIC_STRING); | |
6 | ||
7 | struct module __this_module | |
8 | __attribute__((section(".gnu.linkonce.this_module"))) = { | |
9 | .name = KBUILD_MODNAME, | |
10 | .init = init_module, | |
11 | #ifdef CONFIG_MODULE_UNLOAD | |
12 | .exit = cleanup_module, | |
13 | #endif | |
14 | }; | |
15 | ||
16 | static const struct modversion_info ____versions[] | |
17 | __attribute_used__ | |
18 | __attribute__((section("__versions"))) = { | |
19 | { 0x49cc9b68, "struct_module" }, | |
20 | { 0x1b7d4074, "printk" }, | |
21 | }; | |
22 | ||
23 | static const char __module_depends[] | |
24 | __attribute_used__ | |
25 | __attribute__((section(".modinfo"))) = | |
26 | "depends="; | |
27 |