diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-03-06 04:42:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-06 12:30:26 -0500 |
commit | 0e8cd28a084691587549630dce728661401d343b (patch) | |
tree | c46a2b5e001d159e2bce921d5f638ee5caccf624 | |
parent | b4cf95c69a72baf90b8f275294a3ff3d282ffe09 (diff) |
[PATCH] uml: comment the initialization of a global
Comment the fact that sig_info is initialized early in boot, and thus doesn't
need any locking.
Signed-off-by: Jeff Dike <jdike@linux.intel.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>
-rw-r--r-- | arch/um/os-Linux/trap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/os-Linux/trap.c b/arch/um/os-Linux/trap.c index 1df231a26244..d221214d2ed5 100644 --- a/arch/um/os-Linux/trap.c +++ b/arch/um/os-Linux/trap.c | |||
@@ -16,6 +16,7 @@ void usr2_handler(int sig, union uml_pt_regs *regs) | |||
16 | CHOOSE_MODE(syscall_handler_tt(sig, regs), (void) 0); | 16 | CHOOSE_MODE(syscall_handler_tt(sig, regs), (void) 0); |
17 | } | 17 | } |
18 | 18 | ||
19 | /* Initialized from linux_main() */ | ||
19 | void (*sig_info[NSIG])(int, union uml_pt_regs *); | 20 | void (*sig_info[NSIG])(int, union uml_pt_regs *); |
20 | 21 | ||
21 | void os_fill_handlinfo(struct kern_handlers h) | 22 | void os_fill_handlinfo(struct kern_handlers h) |