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>
This commit is contained in:
Al Viro
2012-01-30 16:30:48 -05:00
committed by Richard Weinberger
parent 28a12cb598
commit c2220b2a12
4 changed files with 4 additions and 8 deletions

View File

@@ -126,9 +126,9 @@ void exit_thread(void)
{
}
void *get_current(void)
int get_current_pid(void)
{
return current;
return task_pid_nr(current);
}
/*