]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
uml: simplify helper stack handling
authorJeff Dike <jdike@addtoit.com>
Mon, 16 Jul 2007 06:38:56 +0000 (23:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:38 +0000 (09:05 -0700)
commitc43990162fc7f9d2f15a12797fdc6f9c0905f704
tree64f8b776c4807da48971f3c24ca157c5e6ab921f
parent42a359e31a0e438b5b978a8f0fecdbd3c86bb033
uml: simplify helper stack handling

run_helper and run_helper_thread had arguments which were the same in all
callers.  run_helper's stack_out was always NULL and run_helper_thread's
stack_order was always 0.  These are now gone, and the constants folded
into the code.

Also fixed leaks of the helper stack in the AIO and SIGIO code.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 files changed:
arch/um/drivers/chan_user.c
arch/um/drivers/harddog_user.c
arch/um/drivers/net_user.c
arch/um/drivers/port_user.c
arch/um/drivers/slip_user.c
arch/um/drivers/slirp_user.c
arch/um/drivers/xterm.c
arch/um/include/os.h
arch/um/os-Linux/aio.c
arch/um/os-Linux/drivers/ethertap_user.c
arch/um/os-Linux/drivers/tuntap_user.c
arch/um/os-Linux/helper.c
arch/um/os-Linux/sigio.c