diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 04:44:19 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 13:51:23 -0500 |
commit | 7242a4005d1c496bc1140d56a0d898cde1b3e3f6 (patch) | |
tree | 2dfd3035634b762ba3aa2f8af1688bb848d8a71f /arch/um/os-Linux/start_up.c | |
parent | 6bf79482f3288e19697d08c456b0bd6b1755d467 (diff) |
[PATCH] uml: locking comments in startup code
Add a couple of comments about some non-locked data.
Signed-off-by: Jeff Dike <jdike@addtoit.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/start_up.c')
-rw-r--r-- | arch/um/os-Linux/start_up.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c index 7fe92680c7dd..5d3bff430d96 100644 --- a/arch/um/os-Linux/start_up.c +++ b/arch/um/os-Linux/start_up.c | |||
@@ -133,6 +133,7 @@ static int stop_ptraced_child(int pid, void *stack, int exitcode, | |||
133 | return ret; | 133 | return ret; |
134 | } | 134 | } |
135 | 135 | ||
136 | /* Changed only during early boot */ | ||
136 | int ptrace_faultinfo = 1; | 137 | int ptrace_faultinfo = 1; |
137 | int ptrace_ldt = 1; | 138 | int ptrace_ldt = 1; |
138 | int proc_mm = 1; | 139 | int proc_mm = 1; |
@@ -160,6 +161,7 @@ __uml_setup("mode=skas0", mode_skas0_cmd_param, | |||
160 | " specify mode=tt. Note that this was recently added - on \n" | 161 | " specify mode=tt. Note that this was recently added - on \n" |
161 | " older kernels you must use simply \"skas0\".\n\n"); | 162 | " older kernels you must use simply \"skas0\".\n\n"); |
162 | 163 | ||
164 | /* Changed only during early boot */ | ||
163 | static int force_sysemu_disabled = 0; | 165 | static int force_sysemu_disabled = 0; |
164 | 166 | ||
165 | static int __init nosysemu_cmd_param(char *str, int* add) | 167 | static int __init nosysemu_cmd_param(char *str, int* add) |