diff options
author | Jeff Dike <jdike@addtoit.com> | 2008-02-05 01:31:10 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:30 -0500 |
commit | 1aa351a308d2c3ddb92b6cc45083fc54271d0010 (patch) | |
tree | 8694809fe286285fa4afbacd5d69e9097d5baf62 /arch/um/include | |
parent | fce8c41c9f68b9af36f3076bae8f1d469a6e7aab (diff) |
uml: tidy helper code
Style fixes to arch/um/os/helper.c and tidying up the breakpoint fix a
bit.
helper.c gets all the usual style fixes -
updated copyright
all printks get severities
Also -
errval changes to err in helper_child
fixed an obsolete comment
run_helper was killing a child process which is guaranteed to
be dead or dying anyway
Removed the nohang and pname arguments from helper_wait and fixed the
declaration and callers. nohang was used only in the slirp driver and
I don't think it was needed. I think pname was a bit of overkill in
putting out an error message when something goes wrong.
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>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/os.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h index c8684b678eeb..bce2881aebd7 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/os.h | |||
@@ -207,7 +207,7 @@ extern int execvp_noalloc(char *buf, const char *file, char *const argv[]); | |||
207 | extern int run_helper(void (*pre_exec)(void *), void *pre_data, char **argv); | 207 | extern int run_helper(void (*pre_exec)(void *), void *pre_data, char **argv); |
208 | extern int run_helper_thread(int (*proc)(void *), void *arg, | 208 | extern int run_helper_thread(int (*proc)(void *), void *arg, |
209 | unsigned int flags, unsigned long *stack_out); | 209 | unsigned int flags, unsigned long *stack_out); |
210 | extern int helper_wait(int pid, int nohang, char *pname); | 210 | extern int helper_wait(int pid); |
211 | 211 | ||
212 | 212 | ||
213 | /* tls.c */ | 213 | /* tls.c */ |