[PATCH 3/6] Split sparc out of main Linux kernel-features.h.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 17 Jul 2014 17:52:58 +0000 (17:52 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 17 Jul 2014 17:52:58 +0000 (17:52 +0000)
commit03f77315182e8b976ca71ac70711654fed46bc3d
tree325b725cc6118e17a6cdf05c4a9b440f20e343b9
parent083b1f7c120e3e6219d48844892f8270088c1a2d
[PATCH 3/6] Split sparc out of main Linux kernel-features.h.

This patch splits sparc out of the main Linux kernel-features.h.

Not tested.

* sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
* sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
(__ASSUME_SOCKETCALL): Do not define.
(__ASSUME_SET_ROBUST_LIST): Define unconditionally.
(__ASSUME_FUTEX_LOCK_PI): Likewise.
[__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
[__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
(__ASSUME_REQUEUE_PI): Define unconditionally.
[__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
(__ASSUME_RECVMMSG_SYSCALL): Do not define.
[__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
[__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
(__ASSUME_SENDMMSG_SYSCALL): Likewise.
[__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
ChangeLog
sysdeps/unix/sysv/linux/kernel-features.h
sysdeps/unix/sysv/linux/sparc/kernel-features.h [new file with mode: 0644]