| OLD | NEW |
| 1 #define __SYSCALL_LL_E(x) \ | 1 #define __SYSCALL_LL_E(x) \ |
| 2 ((union { long long ll; long l[2]; }){ .ll = x }).l[0], \ | 2 ((union { long long ll; long l[2]; }){ .ll = x }).l[0], \ |
| 3 ((union { long long ll; long l[2]; }){ .ll = x }).l[1] | 3 ((union { long long ll; long l[2]; }){ .ll = x }).l[1] |
| 4 #define __SYSCALL_LL_O(x) __SYSCALL_LL_E((x)) | 4 #define __SYSCALL_LL_O(x) __SYSCALL_LL_E((x)) |
| 5 | 5 |
| 6 static inline long __syscall0(long n) | 6 static inline long __syscall0(long n) |
| 7 { | 7 { |
| 8 unsigned long __ret; | 8 unsigned long __ret; |
| 9 __asm__ __volatile__ (".hidden __vsyscall ; call __vsyscall" : "=a"(__re
t) : "a"(n) : "memory"); | 9 __asm__ __volatile__ (".hidden __vsyscall ; call __vsyscall" : "=a"(__re
t) : "a"(n) : "memory"); |
| 10 return __ret; | 10 return __ret; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 static inline long __syscall6(long n, long a1, long a2, long a3, long a4, long a
5, long a6) | 48 static inline long __syscall6(long n, long a1, long a2, long a3, long a4, long a
5, long a6) |
| 49 { | 49 { |
| 50 unsigned long __ret; | 50 unsigned long __ret; |
| 51 __asm__ __volatile__ ("push %6 ; .hidden __vsyscall6 ; call __vsyscall6
; add $4,%%esp" : "=a"(__ret) : "a"(n), "d"(a1), "c"(a2), "D"(a3), "S"(a4), "g"(
0+(long[]){a5, a6}) : "memory"); | 51 __asm__ __volatile__ ("push %6 ; .hidden __vsyscall6 ; call __vsyscall6
; add $4,%%esp" : "=a"(__ret) : "a"(n), "d"(a1), "c"(a2), "D"(a3), "S"(a4), "g"(
0+(long[]){a5, a6}) : "memory"); |
| 52 return __ret; | 52 return __ret; |
| 53 } | 53 } |
| 54 | 54 |
| 55 #define VDSO_USEFUL | 55 #define VDSO_USEFUL |
| 56 #define VDSO_CGT_SYM "__vdso_clock_gettime" | 56 #define VDSO_CGT_SYM "__vdso_clock_gettime" |
| 57 #define VDSO_CGT_VER "LINUX_2.6" | 57 #define VDSO_CGT_VER "LINUX_2.6" |
| 58 |
| 59 #define SYSCALL_USE_SOCKETCALL |
| OLD | NEW |