2007-01-23 19:35:05

by Jeff Dike

[permalink] [raw]
Subject: [PATCH 4/7] UML - locking comments in startup code

Add a couple of comments about some non-locked data.

Signed-off-by: Jeff Dike <[email protected]>
--
arch/um/os-Linux/start_up.c | 2 ++
1 file changed, 2 insertions(+)

Index: linux-2.6.18-mm/arch/um/os-Linux/start_up.c
===================================================================
--- linux-2.6.18-mm.orig/arch/um/os-Linux/start_up.c 2007-01-13 17:50:31.000000000 +1100
+++ linux-2.6.18-mm/arch/um/os-Linux/start_up.c 2007-01-17 12:29:59.000000000 +1100
@@ -133,6 +133,7 @@ static int stop_ptraced_child(int pid, v
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
" 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)