diff options
Diffstat (limited to 'libc')
| -rw-r--r-- | libc/sysdeps/linux/arm/bits/syscalls.h | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/arm/bits/syscalls.h b/libc/sysdeps/linux/arm/bits/syscalls.h index 5b305640f..6c62a9eae 100644 --- a/libc/sysdeps/linux/arm/bits/syscalls.h +++ b/libc/sysdeps/linux/arm/bits/syscalls.h @@ -43,6 +43,9 @@     })									\  ) +#define INTERNAL_SYSCALL_ARM(name, err, nr, args...)           \ +	INTERNAL_SYSCALL_NCS(__ARM_NR_##name, err, nr, args) +  #if defined(__thumb__)  /* We can't use push/pop inside the asm because that breaks     unwinding (ie. thread cancellation). @@ -83,10 +86,6 @@       }									\       (int) __internal_sys_result; }) \  ) - -#undef INTERNAL_SYSCALL_ARM -#define INTERNAL_SYSCALL_ARM(name, err, nr, args...)           \ -	INTERNAL_SYSCALL_NCS(__ARM_NR_##name, err, nr, args)  #endif  #define INTERNAL_SYSCALL_ERROR_P(val, err) \  | 
