diff mbox series

[2/2] linux: Remove __ASSUME_PSELECT

Message ID 20191114185059.6403-2-adhemerval.zanella@linaro.org
State New
Headers show
Series [1/2] misc: Set generic pselect as ENOSYS | expand

Commit Message

Adhemerval Zanella Netto Nov. 14, 2019, 6:50 p.m. UTC
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(-)

-- 
2.17.1

Comments

Florian Weimer Nov. 14, 2019, 7:29 p.m. UTC | #1
* Adhemerval Zanella:

> The specific microblaze pselect implementation does not use

> __ASSUME_PSELECT anymore.


This looks okay, assuming the other patch goes in.
diff mbox series

Patch

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