diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 17:51:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:01 -0400 |
commit | 36e454630473caa178bcbc4982ed6a68cf002e95 (patch) | |
tree | a80208c4d995d49025e7654447ea35476ed01e40 /arch/um/os-Linux/main.c | |
parent | 9218b1714949095bff9d9739d80f431d58e561d6 (diff) |
uml: add missing __init declarations
The build started finding calls from non-init to init functions. These are
just cases of init functions not being properly marked, so this patch fixes
that.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/os-Linux/main.c')
-rw-r--r-- | arch/um/os-Linux/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index 4b6e122ff17b..ea9a23696f36 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c | |||
@@ -120,7 +120,7 @@ extern int uml_exitcode; | |||
120 | 120 | ||
121 | extern void scan_elf_aux( char **envp); | 121 | extern void scan_elf_aux( char **envp); |
122 | 122 | ||
123 | int main(int argc, char **argv, char **envp) | 123 | int __init main(int argc, char **argv, char **envp) |
124 | { | 124 | { |
125 | char **new_argv; | 125 | char **new_argv; |
126 | int ret, i, err; | 126 | int ret, i, err; |