[PATCH] uml: locking documentation
commit730760e90a173ef81f89beed2f1dad2fab310f68
authorJeff Dike <jdike@addtoit.com>
Fri, 29 Sep 2006 08:58:50 +0000 (29 01:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:04 +0000 (29 09:18 -0700)
treee60039deb19683fac30e58277450c657ecd33e07
parentb10aeeef554eb1ff80e10111829f6e7484877811
[PATCH] uml: locking documentation

Some locking documentation and a cleanup.  uml_exitcode is copied into a local
before sprintf sees it, in case sprintf does anything non-atomic with it.

The rest are comments about why certain globals don't need any kind of
locking.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/null.c
arch/um/drivers/random.c
arch/um/drivers/stderr_console.c
arch/um/drivers/stdio_console.c
arch/um/kernel/exitcode.c