Commit c5588b62 authored by Paolo \'Blaisorblade\' Giarrusso's avatar Paolo \'Blaisorblade\' Giarrusso Committed by Linus Torvalds

[PATCH] uml: Avoids compile failure when host misses tkill().

Avoids compile failure when host misses tkill(), by simply using kill() in
that case.
Signed-off-by: default avatarPaolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3db0c74a
......@@ -93,8 +93,11 @@ void os_kill_process(int pid, int reap_child)
void os_usr1_process(int pid)
{
#ifdef __NR_tkill
syscall(__NR_tkill, pid, SIGUSR1);
/* kill(pid, SIGUSR1); */
#else
kill(pid, SIGUSR1);
#endif
}
int os_getpid(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment