aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/shared/kern_util.h
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2012-01-30 21:30:48 +0000
committerRichard Weinberger <[email protected]>2012-03-24 23:29:55 +0000
commitc2220b2a124d2fe7b0074b23680177c8e905a76c (patch)
treef88ed3858ce65669134888f64193ab139a8a95dc /arch/um/include/shared/kern_util.h
parentum: remove pointless include of asm/fixmap.h from asm/pgtable.h (diff)
downloadkernel-c2220b2a124d2fe7b0074b23680177c8e905a76c.tar.gz
kernel-c2220b2a124d2fe7b0074b23680177c8e905a76c.zip
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 <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'arch/um/include/shared/kern_util.h')
-rw-r--r--arch/um/include/shared/kern_util.h2
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 0f1483852460..00965d06d2ca 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);