This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 2/2] linux: Remove __ASSUME_PSELECT
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: libc-alpha at sourceware dot org
- Cc: Lukasz Majewski <lukma at denx dot de>
- Date: Thu, 14 Nov 2019 15:50:59 -0300
- Subject: [PATCH 2/2] linux: Remove __ASSUME_PSELECT
- References: <20191114185059.6403-1-adhemerval.zanella@linaro.org>
The specific microblaze pselect implementation does not use
__ASSUME_PSELECT anymore.
Checked with a build against microblaze-linux-gnu.
---
sysdeps/unix/sysv/linux/kernel-features.h | 4 ----
sysdeps/unix/sysv/linux/microblaze/kernel-features.h | 1 -
2 files changed, 5 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index e6be76ff46..9012aae4c0 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -45,10 +45,6 @@
/* The statfs64 syscalls are available in 2.5.74 (but not for alpha). */
#define __ASSUME_STATFS64 1
-/* pselect/ppoll were introduced just after 2.6.16-rc1. On x86_64 and
- SH this appeared first in 2.6.19-rc1, on ia64 in 2.6.22-rc1. */
-#define __ASSUME_PSELECT 1
-
/* The *at syscalls were introduced just after 2.6.16-rc1. On PPC
they were introduced in 2.6.17-rc1, on SH in 2.6.19-rc1. */
#define __ASSUME_ATFCTS 1
diff --git a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
index 2dd9810f93..1c60488ea9 100644
--- a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
@@ -36,7 +36,6 @@
/* Support for the pselect6, preadv and pwritev syscalls was added in
3.15. */
#if __LINUX_KERNEL_VERSION < 0x030f00
-# undef __ASSUME_PSELECT
# undef __ASSUME_PREADV
# undef __ASSUME_PWRITEV
#endif
--
2.17.1