summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 01:44:19 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 10:51:23 -0800
commit7242a4005d1c496bc1140d56a0d898cde1b3e3f6 (patch)
tree2dfd3035634b762ba3aa2f8af1688bb848d8a71f /arch/um
parent6bf79482f3288e19697d08c456b0bd6b1755d467 (diff)
downloadop-kernel-dev-7242a4005d1c496bc1140d56a0d898cde1b3e3f6.zip
op-kernel-dev-7242a4005d1c496bc1140d56a0d898cde1b3e3f6.tar.gz
[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')
-rw-r--r--arch/um/os-Linux/start_up.c2
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 7fe9268..5d3bff4 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,
return ret;
}
+/* Changed only during early boot */
int ptrace_faultinfo = 1;
int ptrace_ldt = 1;
int proc_mm = 1;
@@ -160,6 +161,7 @@ __uml_setup("mode=skas0", mode_skas0_cmd_param,
" specify mode=tt. Note that this was recently added - on \n"
" older kernels you must use simply \"skas0\".\n\n");
+/* Changed only during early boot */
static int force_sysemu_disabled = 0;
static int __init nosysemu_cmd_param(char *str, int* add)
OpenPOWER on IntegriCloud