diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-07-22 03:20:25 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-07-26 20:08:17 +0200 |
commit | 31c984a5acabea5d8c7224dc226453022be46f33 (patch) | |
tree | 100d662d09da6981d7fc83abfda1052449cd1de8 /arch/mips/include/asm/unistd.h | |
parent | MIPS: MTX-1: Fix PCI on the MeshCube and related boards (diff) | |
download | linux-31c984a5acabea5d8c7224dc226453022be46f33.tar.xz linux-31c984a5acabea5d8c7224dc226453022be46f33.zip |
MIPS: N32: Define getdents64.
As a relativly new ABI N32 should only have received the getdents64(2) but
instead it only had getdents(2). This was noticed as a performance anomaly
in glibc.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/unistd.h')
-rw-r--r-- | arch/mips/include/asm/unistd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/include/asm/unistd.h b/arch/mips/include/asm/unistd.h index 1b5a6648eb86..baa318a59c97 100644 --- a/arch/mips/include/asm/unistd.h +++ b/arch/mips/include/asm/unistd.h @@ -984,16 +984,17 @@ #define __NR_perf_event_open (__NR_Linux + 296) #define __NR_accept4 (__NR_Linux + 297) #define __NR_recvmmsg (__NR_Linux + 298) +#define __NR_getdents64 (__NR_Linux + 299) /* * Offset of the last N32 flavoured syscall */ -#define __NR_Linux_syscalls 298 +#define __NR_Linux_syscalls 299 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ #define __NR_N32_Linux 6000 -#define __NR_N32_Linux_syscalls 298 +#define __NR_N32_Linux_syscalls 299 #ifdef __KERNEL__ |