mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
MicroBlaze: Update kernel-features.h for syscalls added in 3.15
Now that the MicroBlaze 3.15 kernel has the pselect6, preadv and pwritev syscalls, this patch updates kernel-features.h so they are assumed to be present for 3.15 and later kernels. 2014-06-17 Joseph Myers <joseph@codesourcery.com> * sysdeps/unix/sysv/linux/microblaze/kernel-features.h [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not undefine. [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise. [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
This commit is contained in:
committed by
David Holsgrove
parent
4d76cb3935
commit
b0cb309635
@ -1,3 +1,11 @@
|
|||||||
|
2014-07-01 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/microblaze/kernel-features.h
|
||||||
|
[__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
|
||||||
|
undefine.
|
||||||
|
[__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
|
||||||
|
[__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
|
||||||
|
|
||||||
2014-07-01 Roland McGrath <roland@hack.frob.com>
|
2014-07-01 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
|
* sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
|
||||||
|
@ -45,8 +45,10 @@
|
|||||||
# undef __ASSUME_SET_ROBUST_LIST
|
# undef __ASSUME_SET_ROBUST_LIST
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The MicroBlaze kernel does not support the pselect6, preadv and
|
/* Support for the pselect6, preadv and pwritev syscalls was added in
|
||||||
pwritev syscalls. */
|
3.15. */
|
||||||
#undef __ASSUME_PSELECT
|
#if __LINUX_KERNEL_VERSION < 0x030f00
|
||||||
#undef __ASSUME_PREADV
|
# undef __ASSUME_PSELECT
|
||||||
#undef __ASSUME_PWRITEV
|
# undef __ASSUME_PREADV
|
||||||
|
# undef __ASSUME_PWRITEV
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user