diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-30 21:30:48 (GMT) |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2012-03-24 23:29:55 (GMT) |
commit | c2220b2a124d2fe7b0074b23680177c8e905a76c (patch) | |
tree | f88ed3858ce65669134888f64193ab139a8a95dc /arch/um/include/shared/kern_util.h | |
parent | 28a12cb598e55ca9e1c577899d6624e6a83cdc56 (diff) | |
download | linux-c2220b2a124d2fe7b0074b23680177c8e905a76c.tar.xz |
um: kill HOST_TASK_PID
just provide get_current_pid() to the userland side of things
instead of get_current() + manual poking in its results
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include/shared/kern_util.h')
-rw-r--r-- | arch/um/include/shared/kern_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/shared/kern_util.h b/arch/um/include/shared/kern_util.h index 0f14838..00965d0 100644 --- a/arch/um/include/shared/kern_util.h +++ b/arch/um/include/shared/kern_util.h @@ -48,7 +48,7 @@ extern void do_uml_exitcalls(void); * GFP_ATOMIC. */ extern int __cant_sleep(void); -extern void *get_current(void); +extern int get_current_pid(void); extern int copy_from_user_proc(void *to, void *from, int size); extern int cpu(void); extern char *uml_strdup(const char *string); |