acrn-kernel/arch/um/include
Jeff Dike d3b7f69de2 [PATCH] uml: add locking to network transport registration
The registration of host network transports needed some locking.  The
transport list itself is locked, but calls to the registration routines are
not.  This is compensated for by checking that a transport structure is not
yet on any list.

I also took the opportunity to const all fields in the transport structure
except the list, which obviously can be modified.

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:21 -08:00
..
skas Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
sysdep-i386 [PATCH] uml: size register files correctly 2006-12-07 08:39:29 -08:00
sysdep-ia64
sysdep-ppc Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
sysdep-x86_64 [PATCH] uml: size register files correctly 2006-12-07 08:39:29 -08:00
tt [PATCH] uml: fix static binary segfault 2006-07-10 13:24:23 -07:00
aio.h
chan_kern.h [PATCH] uml: return hotplug errors to host 2007-02-11 10:51:21 -08:00
chan_user.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
choose-mode.h
common-offsets.h [PATCH] uml: asm offsets duplication removal 2006-10-11 11:14:20 -07:00
elf_user.h
frame_kern.h
init.h
initrd.h
irq_kern.h IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
irq_user.h [PATCH] uml: remove spinlock wrapper functions 2006-07-10 13:24:23 -07:00
kern.h [PATCH] uml: fix declaration of exit() 2006-03-27 08:44:37 -08:00
kern_util.h [PATCH] make UML compile (FC6/x86-64) 2006-10-15 14:18:39 -07:00
line.h [PATCH] uml: return hotplug errors to host 2007-02-11 10:51:21 -08:00
longjmp.h [PATCH] uml: make UML_SETJMP always safe 2006-10-11 11:14:20 -07:00
mconsole.h [PATCH] uml: mconsole fixes 2006-10-24 22:01:10 -07:00
mconsole_kern.h [PATCH] uml: console whitespace and comment tidying 2007-02-11 10:51:21 -08:00
mem.h
mem_kern.h
mem_user.h [PATCH] UML: Hotplug memory, take 2 2006-03-31 12:18:50 -08:00
misc_constants.h [PATCH] uml: move libc-dependent irq code to os-Linux 2006-03-27 08:44:37 -08:00
mode.h
mode_kern.h Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
net_kern.h [PATCH] uml: add locking to network transport registration 2007-02-11 10:51:21 -08:00
net_user.h [PATCH] uml: don't roll my own random MAC generator 2006-09-29 09:18:04 -07:00
os.h [PATCH] uml: make execvp safe for our usage 2006-11-25 13:28:34 -08:00
process.h
ptrace_user.h
registers.h [PATCH] uml: stack usage reduction 2006-09-26 08:49:09 -07:00
sigcontext.h
sigio.h [PATCH] uml: move sigio_user.c to os-Linux/sigio.c 2006-03-27 08:44:38 -08:00
signal_kern.h
skas_ptrace.h
skas_ptregs.h
syscall.h
sysrq.h
task.h
tempfile.h
tlb.h
ubd_user.h
um_malloc.h [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
um_mmu.h
um_uaccess.h Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
umid.h
uml_uaccess.h
user.h [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
user_util.h [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00