linux-stable-rt/arch/um/drivers
Jeff Dike a52f362f86 [PATCH] uml: mostly const a structure
The chan_opts structure is mostly const, and needs no locking.  Comment the
lack of locking on the one field that can change.

Make all the other fields const.  It turned out that console_open_chan didn't
use its chan_opts argument, so that is deleted from the function and its
callers.

Signed-off-by: Jeff Dike <jdike@addtoit.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>
2007-02-11 10:51:22 -08:00
..
Makefile
chan_kern.c [PATCH] uml: mostly const a structure 2007-02-11 10:51:22 -08:00
chan_user.c
cow.h
cow_sys.h
cow_user.c
daemon.h
daemon_kern.c
daemon_user.c
fd.c
harddog_kern.c [PATCH] uml: watchdog driver formatting 2007-02-11 10:51:21 -08:00
harddog_user.c [PATCH] uml: watchdog driver formatting 2007-02-11 10:51:21 -08:00
hostaudio_kern.c [PATCH] uml: audio driver formatting 2007-02-11 10:51:21 -08:00
line.c [PATCH] uml: return hotplug errors to host 2007-02-11 10:51:21 -08:00
mcast.h
mcast_kern.c
mcast_user.c
mconsole_kern.c [PATCH] uml: use LIST_HEAD where possible 2007-02-11 10:51:22 -08:00
mconsole_user.c
mmapper_kern.c
net_kern.c [PATCH] uml: network driver locking and code cleanup 2007-02-11 10:51:22 -08:00
net_user.c
null.c
pcap_kern.c
pcap_user.c
pcap_user.h
port.h
port_kern.c [PATCH] uml: use LIST_HEAD where possible 2007-02-11 10:51:22 -08:00
port_user.c [PATCH] uml: port driver formatting 2007-02-11 10:51:21 -08:00
pty.c
random.c [PATCH] uml: locking commentary in the random driver 2007-02-11 10:51:22 -08:00
slip.h
slip_common.c
slip_common.h
slip_kern.c
slip_user.c
slirp.h
slirp_kern.c
slirp_user.c
ssl.c [PATCH] uml: mostly const a structure 2007-02-11 10:51:22 -08:00
ssl.h
stderr_console.c
stdio_console.c [PATCH] uml: mostly const a structure 2007-02-11 10:51:22 -08:00
stdio_console.h
tty.c
ubd_kern.c [PATCH] uml: mconsole locking 2007-02-11 10:51:21 -08:00
ubd_user.c
xterm.c
xterm.h
xterm_kern.c