]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] uml: hot-unplug code cleanup
authorJeff Dike <jdike@addtoit.com>
Sat, 25 Jun 2005 21:55:25 +0000 (14:55 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:36 +0000 (16:24 -0700)
commit0a23b05cd1d4c05a10a5d07a932a952c397dae9f
tree7790477f5b138c249725fe8ecf9dc07794e9d1eb
parentf520cc57c4de5c1ccd45a30e1bb6b54124351623
[PATCH] uml: hot-unplug code cleanup

Clean up the hot-unplugging code.  There is now an id procedure which is
called to figure out what device we're talking to.  The error messages from
that are now done from mconsole_remove instead of the driver.  remove is now
called with the device number, after it has been checked, so doesn't need to
do sanity checking on it.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/line.c
arch/um/drivers/mconsole_kern.c
arch/um/drivers/net_kern.c
arch/um/drivers/ssl.c
arch/um/drivers/stdio_console.c
arch/um/drivers/ubd_kern.c
arch/um/include/line.h
arch/um/include/mconsole_kern.h
arch/um/kernel/tt/gdb.c
arch/um/kernel/tt/gdb_kern.c
arch/um/kernel/tt/include/debug.h