X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=arch%2Farm%2Fsyscall_arch.h;h=6023303bfe82d01e9558ba6b89211e3c4f343a0d;hb=8e932792c917d11545c2953b35159149f7411eca;hp=c1c946661afafac0d25e16b26d87c2ad0f87c097;hpb=0e971b0e3f4b9c99a7ce67b10d851fc885c188d5;p=musl diff --git a/arch/arm/syscall_arch.h b/arch/arm/syscall_arch.h index c1c94666..6023303b 100644 --- a/arch/arm/syscall_arch.h +++ b/arch/arm/syscall_arch.h @@ -3,8 +3,6 @@ ((union { long long ll; long l[2]; }){ .ll = x }).l[1] #define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x)) -long (__syscall)(long, ...); - #define __asm_syscall(...) do { \ __asm__ __volatile__ ( "svc 0" \ : "=r"(r0) : __VA_ARGS__ : "memory"); \ @@ -74,3 +72,9 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo register long r5 __asm__("r5") = f; __asm_syscall("r"(r7), "0"(r0), "r"(r1), "r"(r2), "r"(r3), "r"(r4), "r"(r5)); } + +#define VDSO_USEFUL +#define VDSO_CGT_SYM "__vdso_clock_gettime" +#define VDSO_CGT_VER "LINUX_2.6" + +#define SYSCALL_FADVISE_6_ARG