Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: fusl/arch/mips/syscall_arch.h

Issue 1689833004: [fusl] Update fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: remove stray space Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/arch/mips/reloc.h ('k') | fusl/arch/powerpc/bits/io.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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) 0, __SYSCALL_LL_E((x)) 4 #define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
5 5
6 __attribute__((visibility("hidden"))) 6 __attribute__((visibility("hidden")))
7 long (__syscall)(long, ...); 7 long (__syscall)(long, ...);
8 8
9 #define SYSCALL_RLIM_INFINITY (-1UL/2) 9 #define SYSCALL_RLIM_INFINITY (-1UL/2)
10 10
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 } 154 }
155 155
156 static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo ng f) 156 static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo ng f)
157 { 157 {
158 long r2 = (__syscall)(n, a, b, c, d, e, f); 158 long r2 = (__syscall)(n, a, b, c, d, e, f);
159 if (r2 > -4096UL) return r2; 159 if (r2 > -4096UL) return r2;
160 if (n == SYS_stat64 || n == SYS_fstat64 || n == SYS_lstat64) __stat_fix( b); 160 if (n == SYS_stat64 || n == SYS_fstat64 || n == SYS_lstat64) __stat_fix( b);
161 if (n == SYS_fstatat) __stat_fix(c); 161 if (n == SYS_fstatat) __stat_fix(c);
162 return r2; 162 return r2;
163 } 163 }
164
165 #define VDSO_USEFUL
166 #define VDSO_CGT_SYM "__vdso_clock_gettime"
167 #define VDSO_CGT_VER "LINUX_2.6"
OLDNEW
« no previous file with comments | « fusl/arch/mips/reloc.h ('k') | fusl/arch/powerpc/bits/io.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698