[PATCH 4/7] UML - locking comments in startup code

From: Jeff Dike
Date: Tue Jan 23 2007 - 14:35:54 EST


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

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>
--
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)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/