Rev 335 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 335 | Rev 361 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #include <linux/module.h> |
1 | #include <linux/module.h> |
- | 2 | #define INCLUDE_VERMAGIC |
|
- | 3 | #include <linux/build-salt.h> |
|
2 | #include <linux/vermagic.h> |
4 | #include <linux/vermagic.h> |
3 | #include <linux/compiler.h> |
5 | #include <linux/compiler.h> |
- | 6 | ||
- | 7 | BUILD_SALT; |
|
4 | 8 | ||
5 | MODULE_INFO(vermagic, VERMAGIC_STRING); |
9 | MODULE_INFO(vermagic, VERMAGIC_STRING); |
- | 10 | MODULE_INFO(name, KBUILD_MODNAME); |
|
6 | 11 | ||
7 | __visible struct module __this_module |
12 | __visible struct module __this_module |
8 |
|
13 | __section(.gnu.linkonce.this_module) = { |
9 | .name = KBUILD_MODNAME, |
14 | .name = KBUILD_MODNAME, |
10 | .init = init_module, |
15 | .init = init_module, |
11 | #ifdef CONFIG_MODULE_UNLOAD |
16 | #ifdef CONFIG_MODULE_UNLOAD |
12 | .exit = cleanup_module, |
17 | .exit = cleanup_module, |
13 | #endif |
18 | #endif |
14 | .arch = MODULE_ARCH_INIT, |
19 | .arch = MODULE_ARCH_INIT, |
15 | }; |
20 | }; |
16 | 21 | ||
17 | #ifdef |
22 | #ifdef CONFIG_RETPOLINE |
18 | MODULE_INFO(retpoline, "Y"); |
23 | MODULE_INFO(retpoline, "Y"); |
19 | #endif |
24 | #endif |
20 | 25 | ||
21 | static const struct modversion_info ____versions[] |
26 | static const struct modversion_info ____versions[] |
22 | __used |
- | |
23 |
|
27 | __used __section(__versions) = { |
24 | { |
28 | { 0xa879d70c, "module_layout" }, |
25 | { |
29 | { 0x4b5317f6, "kmalloc_caches" }, |
26 | { |
30 | { 0xeb233a45, "__kmalloc" }, |
27 | { |
31 | { 0x9aabb05, "usb_deregister_dev" }, |
28 | { |
32 | { 0x409bcb62, "mutex_unlock" }, |
29 | { 0x167e7f9d, |
33 | { 0x167e7f9d, "__get_user_1" }, |
30 | { |
34 | { 0xaf313a6, "usb_deregister" }, |
31 | { |
35 | { 0x977f511b, "__mutex_init" }, |
32 | { |
36 | { 0xc5850110, "printk" }, |
33 | { |
37 | { 0xa00bc4da, "usb_register_dev" }, |
34 | { |
38 | { 0xea8be50b, "usb_control_msg" }, |
35 | { |
39 | { 0xc3aaf0a9, "__put_user_1" }, |
36 | { |
40 | { 0x2ab7989d, "mutex_lock" }, |
37 | { |
41 | { 0x6e917fc3, "usb_get_dev" }, |
38 | { |
42 | { 0x296695f, "refcount_warn_saturate" }, |
39 | { |
43 | { 0xc959d152, "__stack_chk_fail" }, |
40 | { |
44 | { 0x7da9ed02, "usb_put_dev" }, |
41 | { |
45 | { 0xd54bf84, "usb_find_interface" }, |
42 | { 0xbdfb6dbb, |
46 | { 0xbdfb6dbb, "__fentry__" }, |
43 | { |
47 | { 0x9b67a295, "kmem_cache_alloc_trace" }, |
44 | { 0x37a0cba, |
48 | { 0x37a0cba, "kfree" }, |
45 | { |
49 | { 0xcebadccc, "usb_register_driver" }, |
46 | }; |
50 | }; |
47 | 51 | ||
48 | static const char __module_depends[] |
- | |
49 | __used |
- | |
50 | __attribute__((section(".modinfo"))) = |
- | |
51 | " |
52 | MODULE_INFO(depends, ""); |
52 | 53 | ||
53 | 54 | ||
54 | MODULE_INFO(srcversion, " |
55 | MODULE_INFO(srcversion, "FB56B778E0FD08195B1DCB9"); |