[PATCH 4/4] UML - Comment the initialization of a global

From: Jeff Dike
Date: Mon Mar 05 2007 - 17:52:09 EST


Comment the fact that sig_info is initialized early in boot, and thus doesn't
need any locking.

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxxxxxx>
--
arch/um/os-Linux/trap.c | 1 +
1 file changed, 1 insertion(+)

Index: linux-2.6.18-mm/arch/um/os-Linux/trap.c
===================================================================
--- linux-2.6.18-mm.orig/arch/um/os-Linux/trap.c 2006-12-30 04:20:14.000000000 +1100
+++ linux-2.6.18-mm/arch/um/os-Linux/trap.c 2007-01-16 10:38:21.000000000 +1100
@@ -16,6 +16,7 @@ void usr2_handler(int sig, union uml_pt_
CHOOSE_MODE(syscall_handler_tt(sig, regs), (void) 0);
}

+/* Initialized from linux_main() */
void (*sig_info[NSIG])(int, union uml_pt_regs *);

void os_fill_handlinfo(struct kern_handlers h)

-
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/