Undefine __ASSUME_GETDENTS64_SYSCALL for n32 before 2.6.35.

This commit is contained in:
Joseph Myers 2010-08-13 23:37:54 +00:00
parent 5237c94b63
commit 5ccc178fd7
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-08-13 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/kernel-features.h
(__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
2010-08-13 Chandrakala Chavva <cchavva@caviumnetworks.com>
* sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in

View File

@ -37,4 +37,10 @@
# define __ASSUME_SIGNALFD4 1
#endif
/* The n32 syscall ABI did not have a getdents64 syscall until
2.6.35. */
#if _MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623
# undef __ASSUME_GETDENTS64_SYSCALL
#endif
#include_next <kernel-features.h>