diff options
Diffstat (limited to 'arch/aarch64/syscall_arch.h')
-rw-r--r-- | arch/aarch64/syscall_arch.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/aarch64/syscall_arch.h b/arch/aarch64/syscall_arch.h index a92bff97..25f5ce67 100644 --- a/arch/aarch64/syscall_arch.h +++ b/arch/aarch64/syscall_arch.h @@ -1,7 +1,5 @@ -#define __SYSCALL_LL_E(x) \ -((union { long long ll; long l[2]; }){ .ll = x }).l[0], \ -((union { long long ll; long l[2]; }){ .ll = x }).l[1] -#define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x)) +#define __SYSCALL_LL_E(x) (x) +#define __SYSCALL_LL_O(x) (x) #define __asm_syscall(...) do { \ __asm__ __volatile__ ( "svc 0" \ |