waitpid: Add case for ARM.

* lib/linux/waitpid.c: Add case for ARM.
This commit is contained in:
Danny Milosavljevic 2019-02-19 23:56:58 +01:00 committed by Jan Nieuwenhuizen
parent fd7c2d32cd
commit 0f5651436b
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ waitpid (pid_t pid, int *status_ptr, int options)
{
#if __i386__
return _sys_call3 (SYS_waitpid, (long) pid, (long) status_ptr, (int) options);
#elif __x86_64__
#elif __x86_64__ || __arm__
return _sys_call4 (SYS_wait4, (long) pid, (long) status_ptr, (int) options, 0);
#else
#error arch not supported