summaryrefslogtreecommitdiff
path: root/arch/mipsn32
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mipsn32')
-rw-r--r--arch/mipsn32/bits/syscall.h.in2
-rw-r--r--arch/mipsn32/syscall_arch.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/mipsn32/bits/syscall.h.in b/arch/mipsn32/bits/syscall.h.in
index d6b24e8f..cd843a76 100644
--- a/arch/mipsn32/bits/syscall.h.in
+++ b/arch/mipsn32/bits/syscall.h.in
@@ -253,7 +253,7 @@
#define __NR_mknodat 6253
#define __NR_fchownat 6254
#define __NR_futimesat 6255
-#define __NR_fstatat 6256
+#define __NR_newfstatat 6256
#define __NR_unlinkat 6257
#define __NR_renameat 6258
#define __NR_linkat 6259
diff --git a/arch/mipsn32/syscall_arch.h b/arch/mipsn32/syscall_arch.h
index 37e71a7e..93a026f6 100644
--- a/arch/mipsn32/syscall_arch.h
+++ b/arch/mipsn32/syscall_arch.h
@@ -97,7 +97,7 @@ static inline long __syscall4(long n, long a, long b, long c, long d)
if (r7) return -r2;
long ret = r2;
if (n == SYS_stat || n == SYS_fstat || n == SYS_lstat) __stat_fix(b);
- if (n == SYS_fstatat) __stat_fix(c);
+ if (n == SYS_newfstatat) __stat_fix(c);
return ret;
}
@@ -106,7 +106,7 @@ static inline long __syscall5(long n, long a, long b, long c, long d, long e)
long r2 = (__syscall)(n, a, b, c, d, e);
if (r2 > -4096UL) return r2;
if (n == SYS_stat || n == SYS_fstat || n == SYS_lstat) __stat_fix(b);
- if (n == SYS_fstatat) __stat_fix(c);
+ if (n == SYS_newfstatat) __stat_fix(c);
return r2;
}
@@ -115,7 +115,7 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
long r2 = (__syscall)(n, a, b, c, d, e, f);
if (r2 > -4096UL) return r2;
if (n == SYS_stat || n == SYS_fstat || n == SYS_lstat) __stat_fix(b);
- if (n == SYS_fstatat) __stat_fix(c);
+ if (n == SYS_newfstatat) __stat_fix(c);
return r2;
}