diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-15 17:50:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-15 17:50:51 -0400 |
commit | 8d1e5133bf260aabdf2cc6facd4a8e696414d16a (patch) | |
tree | 0e152a07b3892546879f55028b26b1701f7de8e6 /arch/um/include | |
parent | 6a4d4b3253c1341843ba473429cf76a0e54f053d (diff) | |
parent | 5ec9121195a4f1cecd0fa592636c5f81eb03dc8c (diff) |
Merge branch 'for-linus-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
Pull uml updates from Richard Weinberger:
"Minor updates for UML:
- fixes for our new vector network driver by Anton
- initcall cleanup by Alexander
- We have a new mailinglist, sourceforge.net sucks"
* 'for-linus-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
um: Fix raw interface options
um: Fix initialization of vector queues
um: remove uml initcalls
um: Update mailing list address
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/asm/common.lds.S | 6 | ||||
-rw-r--r-- | arch/um/include/shared/init.h | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/arch/um/include/asm/common.lds.S b/arch/um/include/asm/common.lds.S index b30d73ca29d0..7adb4e6b658a 100644 --- a/arch/um/include/asm/common.lds.S +++ b/arch/um/include/asm/common.lds.S | |||
@@ -53,12 +53,6 @@ | |||
53 | CON_INITCALL | 53 | CON_INITCALL |
54 | } | 54 | } |
55 | 55 | ||
56 | .uml.initcall.init : { | ||
57 | __uml_initcall_start = .; | ||
58 | *(.uml.initcall.init) | ||
59 | __uml_initcall_end = .; | ||
60 | } | ||
61 | |||
62 | SECURITY_INIT | 56 | SECURITY_INIT |
63 | 57 | ||
64 | .exitcall : { | 58 | .exitcall : { |
diff --git a/arch/um/include/shared/init.h b/arch/um/include/shared/init.h index b3f5865a92c9..c66de434a983 100644 --- a/arch/um/include/shared/init.h +++ b/arch/um/include/shared/init.h | |||
@@ -64,14 +64,10 @@ struct uml_param { | |||
64 | int (*setup_func)(char *, int *); | 64 | int (*setup_func)(char *, int *); |
65 | }; | 65 | }; |
66 | 66 | ||
67 | extern initcall_t __uml_initcall_start, __uml_initcall_end; | ||
68 | extern initcall_t __uml_postsetup_start, __uml_postsetup_end; | 67 | extern initcall_t __uml_postsetup_start, __uml_postsetup_end; |
69 | extern const char *__uml_help_start, *__uml_help_end; | 68 | extern const char *__uml_help_start, *__uml_help_end; |
70 | #endif | 69 | #endif |
71 | 70 | ||
72 | #define __uml_initcall(fn) \ | ||
73 | static initcall_t __uml_initcall_##fn __uml_init_call = fn | ||
74 | |||
75 | #define __uml_exitcall(fn) \ | 71 | #define __uml_exitcall(fn) \ |
76 | static exitcall_t __uml_exitcall_##fn __uml_exit_call = fn | 72 | static exitcall_t __uml_exitcall_##fn __uml_exit_call = fn |
77 | 73 | ||
@@ -108,7 +104,6 @@ extern struct uml_param __uml_setup_start, __uml_setup_end; | |||
108 | */ | 104 | */ |
109 | #define __uml_init_setup __used __section(.uml.setup.init) | 105 | #define __uml_init_setup __used __section(.uml.setup.init) |
110 | #define __uml_setup_help __used __section(.uml.help.init) | 106 | #define __uml_setup_help __used __section(.uml.help.init) |
111 | #define __uml_init_call __used __section(.uml.initcall.init) | ||
112 | #define __uml_postsetup_call __used __section(.uml.postsetup.init) | 107 | #define __uml_postsetup_call __used __section(.uml.postsetup.init) |
113 | #define __uml_exit_call __used __section(.uml.exitcall.exit) | 108 | #define __uml_exit_call __used __section(.uml.exitcall.exit) |
114 | 109 | ||