android_kernel_xiaomi_sm8350/arch/um/drivers
Jeff Dike 3076212f8d [PATCH] uml: irq locking fixes
As the comment immediately preceding this points out, this list is changed in
irq context, so it needs to be protected with spin_lock_irqsave in process
context when it is processed.

Sometimes, gcc should just compile the comments and forget the code.

The IRQ side of this was better, in the sense that it blocked and unblocked
interrupts, but it still should have saved and restored them.

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>
2007-03-29 08:22:24 -07:00
..
chan_kern.c [PATCH] uml: irq locking fixes 2007-03-29 08:22:24 -07:00
chan_user.c
cow_sys.h
cow_user.c
cow.h
daemon_kern.c [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
daemon_user.c [PATCH] um: fix errno usage 2007-03-08 07:38:21 -08:00
daemon.h
fd.c
harddog_kern.c [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -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] um: fix confusion irq early reenabling 2007-03-08 07:38:21 -08:00
Makefile
mcast_kern.c [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
mcast_user.c [PATCH] um: fix a memory leak in the multicast driver 2007-03-08 07:38:21 -08:00
mcast.h
mconsole_kern.c [PATCH] uml: fix device unplug crash 2007-03-29 08:22:24 -07:00
mconsole_user.c [PATCH] uml: umid tidying 2007-02-11 10:51:24 -08:00
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 [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
pcap_user.c
pcap_user.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
port.h
pty.c
random.c [PATCH] uml: locking commentary in the random driver 2007-02-11 10:51:22 -08:00
slip_common.c
slip_common.h
slip_kern.c [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
slip_user.c
slip.h
slirp_kern.c [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
slirp_user.c
slirp.h
ssl.c [PATCH] um: mark both consoles as CON_ANYTIME 2007-03-08 07:38:21 -08:00
ssl.h
stderr_console.c
stdio_console.c [PATCH] um: mark both consoles as CON_ANYTIME 2007-03-08 07:38:21 -08:00
stdio_console.h
tty.c
ubd_kern.c [PATCH] uml: fix I/O hang when multiple devices are in use 2007-03-29 08:22:24 -07:00
ubd_user.c
xterm_kern.c
xterm.c
xterm.h