aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog130
-rw-r--r--nptl/createthread.c2
-rw-r--r--nptl/pthread_cancel.c1
-rw-r--r--nptl/pthread_condattr_setclock.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/pt-raise.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/pthread_kill.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/raise.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/timer_create.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/timer_delete.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/timer_getoverr.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/timer_gettime.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/timer_routines.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/timer_settime.c1
-rw-r--r--nscd/gai.c1
-rw-r--r--nss/nss_db/db-open.c1
-rw-r--r--sysdeps/generic/ldsodefs.h1
-rw-r--r--sysdeps/sh/nptl/tls.h1
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/sigaction.c2
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h1
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/vfork.S1
-rw-r--r--sysdeps/unix/sysv/linux/adjtime.c2
-rw-r--r--sysdeps/unix/sysv/linux/alpha/xstatconv.h1
-rw-r--r--sysdeps/unix/sysv/linux/arm/sigaction.c1
-rw-r--r--sysdeps/unix/sysv/linux/arm/sigcontextinfo.h1
-rw-r--r--sysdeps/unix/sysv/linux/check_pf.c1
-rw-r--r--sysdeps/unix/sysv/linux/clock_getcpuclockid.c1
-rw-r--r--sysdeps/unix/sysv/linux/clock_getres.c1
-rw-r--r--sysdeps/unix/sysv/linux/clock_gettime.c1
-rw-r--r--sysdeps/unix/sysv/linux/clock_nanosleep.c1
-rw-r--r--sysdeps/unix/sysv/linux/clock_settime.c1
-rw-r--r--sysdeps/unix/sysv/linux/dl-execstack.c2
-rw-r--r--sysdeps/unix/sysv/linux/dl-osinfo.h1
-rw-r--r--sysdeps/unix/sysv/linux/dl-sysdep.c1
-rw-r--r--sysdeps/unix/sysv/linux/generic/futimesat.c1
-rw-r--r--sysdeps/unix/sysv/linux/generic/poll.c2
-rw-r--r--sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c1
-rw-r--r--sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c1
-rw-r--r--sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c2
-rw-r--r--sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c2
-rw-r--r--sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c2
-rw-r--r--sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c2
-rw-r--r--sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c2
-rw-r--r--sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c2
-rw-r--r--sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c2
-rw-r--r--sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c2
-rw-r--r--sysdeps/unix/sysv/linux/getcwd.c2
-rw-r--r--sysdeps/unix/sysv/linux/getpagesize.c1
-rw-r--r--sysdeps/unix/sysv/linux/getsysstats.c1
-rw-r--r--sysdeps/unix/sysv/linux/i386/fxstat.c2
-rw-r--r--sysdeps/unix/sysv/linux/i386/lxstat.c2
-rw-r--r--sysdeps/unix/sysv/linux/i386/mmap.S2
-rw-r--r--sysdeps/unix/sysv/linux/i386/mmap64.S2
-rw-r--r--sysdeps/unix/sysv/linux/i386/sigaction.c2
-rw-r--r--sysdeps/unix/sysv/linux/i386/vfork.S1
-rw-r--r--sysdeps/unix/sysv/linux/i386/xstat.c2
-rw-r--r--sysdeps/unix/sysv/linux/ia64/system.c2
-rw-r--r--sysdeps/unix/sysv/linux/if_index.c1
-rw-r--r--sysdeps/unix/sysv/linux/ifaddrs.c1
-rw-r--r--sysdeps/unix/sysv/linux/ifreq.c1
-rw-r--r--sysdeps/unix/sysv/linux/ldsodefs.h2
-rw-r--r--sysdeps/unix/sysv/linux/lutimes.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/vfork.S1
-rw-r--r--sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S1
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips32/accept4.c1
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c1
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c1
-rw-r--r--sysdeps/unix/sysv/linux/mips/pread.c2
-rw-r--r--sysdeps/unix/sysv/linux/mips/pread64.c2
-rw-r--r--sysdeps/unix/sysv/linux/mips/pwrite.c2
-rw-r--r--sysdeps/unix/sysv/linux/mips/pwrite64.c2
-rw-r--r--sysdeps/unix/sysv/linux/mips/sigaction.c2
-rw-r--r--sysdeps/unix/sysv/linux/mmap64.c2
-rw-r--r--sysdeps/unix/sysv/linux/netlinkaccess.h2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/chown.c2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S1
-rw-r--r--sysdeps/unix/sysv/linux/pread.c2
-rw-r--r--sysdeps/unix/sysv/linux/pread64.c2
-rw-r--r--sysdeps/unix/sysv/linux/prof-freq.c1
-rw-r--r--sysdeps/unix/sysv/linux/pwrite.c2
-rw-r--r--sysdeps/unix/sysv/linux/pwrite64.c2
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-32/mmap.S1
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S1
-rw-r--r--sysdeps/unix/sysv/linux/s390/system.c2
-rw-r--r--sysdeps/unix/sysv/linux/sh/pread.c2
-rw-r--r--sysdeps/unix/sysv/linux/sh/pread64.c2
-rw-r--r--sysdeps/unix/sysv/linux/sh/pwrite.c2
-rw-r--r--sysdeps/unix/sysv/linux/sh/pwrite64.c2
-rw-r--r--sysdeps/unix/sysv/linux/sigaction.c2
-rw-r--r--sysdeps/unix/sysv/linux/sigpending.c2
-rw-r--r--sysdeps/unix/sysv/linux/sigprocmask.c1
-rw-r--r--sysdeps/unix/sysv/linux/sigsuspend.c2
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c1
-rw-r--r--sysdeps/unix/sysv/linux/sparc/system.c2
-rw-r--r--sysdeps/unix/sysv/linux/syslog.c2
-rw-r--r--sysdeps/unix/sysv/linux/system.c1
-rw-r--r--sysdeps/unix/sysv/linux/testrtsig.h2
-rw-r--r--sysdeps/unix/sysv/linux/timespec_get.c1
-rw-r--r--sysdeps/unix/sysv/linux/ttyname.c1
-rw-r--r--sysdeps/unix/sysv/linux/ttyname_r.c1
-rw-r--r--sysdeps/unix/sysv/linux/utimensat.c2
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/sigaction.c2
-rw-r--r--sysdeps/unix/sysv/linux/xstatconv.h2
130 files changed, 130 insertions, 185 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a8869f..e1be998 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,135 @@
2014-06-25 Joseph Myers <joseph@codesourcery.com>
+ * nptl/createthread.c: Don't include kernel-features.h.
+ * nptl/pthread_cancel.c: Likewise.
+ * nptl/pthread_condattr_setclock.c: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
+ * nscd/gai.c: Likewise.
+ * nss/nss_db/db-open.c: Likewise.
+ * sysdeps/generic/ldsodefs.h: Likewise.
+ * sysdeps/sh/nptl/tls.h: Likewise.
+ * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
+ * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
+ * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
+ * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
+ * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
+ * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
+ * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
+ * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
+ * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
+ * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
+ * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
+ * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
+ * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
+ * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
+ * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
+ * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
+ * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
+ * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
+ * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
+ * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
+ * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
+ * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
+ * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
+ * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
+ * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
+ * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
+ * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
+ * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
+ * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
+ * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
+ * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
+ * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
+ * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
+ * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
+ * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
+ * sysdeps/unix/sysv/linux/if_index.c: Likewise.
+ * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
+ * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
+ * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
+ * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
+ * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
+ * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
+ * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
+ * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
+ * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
+ * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
+ * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
+ * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
+ * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
+ * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
+ * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
+ * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
+ * sysdeps/unix/sysv/linux/pread.c: Likewise.
+ * sysdeps/unix/sysv/linux/pread64.c: Likewise.
+ * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
+ * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
+ * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
+ * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
+ * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
+ * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
+ * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
+ * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
+ * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
+ * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
+ * sysdeps/unix/sysv/linux/syslog.c: Likewise.
+ * sysdeps/unix/sysv/linux/system.c: Likewise.
+ * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
+ * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
+ * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
+ * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
+ * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
+ * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
+
* configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
* configure: Regenerated.
* config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
diff --git a/nptl/createthread.c b/nptl/createthread.c
index 28c1ea6..d71467f 100644
--- a/nptl/createthread.c
+++ b/nptl/createthread.c
@@ -25,8 +25,6 @@
#include <tls.h>
#include <stdint.h>
-#include "kernel-features.h"
-
#define CLONE_SIGNAL (CLONE_SIGHAND | CLONE_THREAD)
diff --git a/nptl/pthread_cancel.c b/nptl/pthread_cancel.c
index 6ab8172..aeba1ff 100644
--- a/nptl/pthread_cancel.c
+++ b/nptl/pthread_cancel.c
@@ -21,7 +21,6 @@
#include "pthreadP.h"
#include "atomic.h"
#include <sysdep.h>
-#include <kernel-features.h>
int
diff --git a/nptl/pthread_condattr_setclock.c b/nptl/pthread_condattr_setclock.c
index 35d2c07..f0619cb 100644
--- a/nptl/pthread_condattr_setclock.c
+++ b/nptl/pthread_condattr_setclock.c
@@ -22,7 +22,6 @@
#include <time.h>
#include <sysdep.h>
#include "pthreadP.h"
-#include <kernel-features.h>
int
diff --git a/nptl/sysdeps/unix/sysv/linux/pt-raise.c b/nptl/sysdeps/unix/sysv/linux/pt-raise.c
index 74762b7..fc26e85 100644
--- a/nptl/sysdeps/unix/sysv/linux/pt-raise.c
+++ b/nptl/sysdeps/unix/sysv/linux/pt-raise.c
@@ -20,7 +20,6 @@
#include <signal.h>
#include <sysdep.h>
#include <tls.h>
-#include <kernel-features.h>
int
diff --git a/nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c b/nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
index aa9c93f..3e634a0 100644
--- a/nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
+++ b/nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
@@ -20,7 +20,6 @@
#include <pthreadP.h>
#include <sys/time.h>
#include <tls.h>
-#include <kernel-features.h>
#include <kernel-posix-cpu-timers.h>
diff --git a/nptl/sysdeps/unix/sysv/linux/pthread_kill.c b/nptl/sysdeps/unix/sysv/linux/pthread_kill.c
index f8957ae..0a4d862 100644
--- a/nptl/sysdeps/unix/sysv/linux/pthread_kill.c
+++ b/nptl/sysdeps/unix/sysv/linux/pthread_kill.c
@@ -21,7 +21,6 @@
#include <pthreadP.h>
#include <tls.h>
#include <sysdep.h>
-#include <kernel-features.h>
int
diff --git a/nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c b/nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c
index 8dee3a6..1e66815 100644
--- a/nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c
+++ b/nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c
@@ -23,7 +23,6 @@
#include <pthreadP.h>
#include <tls.h>
#include <sysdep.h>
-#include <kernel-features.h>
int
diff --git a/nptl/sysdeps/unix/sysv/linux/raise.c b/nptl/sysdeps/unix/sysv/linux/raise.c
index 67c9b1f..4106e8c 100644
--- a/nptl/sysdeps/unix/sysv/linux/raise.c
+++ b/nptl/sysdeps/unix/sysv/linux/raise.c
@@ -21,7 +21,6 @@
#include <signal.h>
#include <sysdep.h>
#include <nptl/pthreadP.h>
-#include <kernel-features.h>
int
diff --git a/nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S b/nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S
index 00ed992..4908562 100644
--- a/nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S
+++ b/nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
-#include <kernel-features.h>
#include <bits/wordsize.h>
#include <tcb-offsets.h>
diff --git a/nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S b/nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S
index adf66be..45411ba 100644
--- a/nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S
+++ b/nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
-#include <kernel-features.h>
#include <bits/wordsize.h>
#include <tcb-offsets.h>
diff --git a/nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S b/nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S
index 97f82f0..589209d 100644
--- a/nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S
+++ b/nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
-#include <kernel-features.h>
#include <bits/wordsize.h>
#include <tcb-offsets.h>
diff --git a/nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S b/nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S
index 4f7a0b5..205e893 100644
--- a/nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S
+++ b/nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
-#include <kernel-features.h>
#include <bits/wordsize.h>
#include <tcb-offsets.h>
diff --git a/nptl/sysdeps/unix/sysv/linux/timer_create.c b/nptl/sysdeps/unix/sysv/linux/timer_create.c
index 8b20aba..e5c056b 100644
--- a/nptl/sysdeps/unix/sysv/linux/timer_create.c
+++ b/nptl/sysdeps/unix/sysv/linux/timer_create.c
@@ -23,7 +23,6 @@
#include <string.h>
#include <time.h>
#include <sysdep.h>
-#include <kernel-features.h>
#include <internaltypes.h>
#include <nptl/pthreadP.h>
#include "kernel-posix-timers.h"
diff --git a/nptl/sysdeps/unix/sysv/linux/timer_delete.c b/nptl/sysdeps/unix/sysv/linux/timer_delete.c
index d7fc501..1de8123 100644
--- a/nptl/sysdeps/unix/sysv/linux/timer_delete.c
+++ b/nptl/sysdeps/unix/sysv/linux/timer_delete.c
@@ -20,7 +20,6 @@
#include <stdlib.h>
#include <time.h>
#include <sysdep.h>
-#include <kernel-features.h>
#include "kernel-posix-timers.h"
diff --git a/nptl/sysdeps/unix/sysv/linux/timer_getoverr.c b/nptl/sysdeps/unix/sysv/linux/timer_getoverr.c
index ea61a4c..0ac3941 100644
--- a/nptl/sysdeps/unix/sysv/linux/timer_getoverr.c
+++ b/nptl/sysdeps/unix/sysv/linux/timer_getoverr.c
@@ -19,7 +19,6 @@
#include <errno.h>
#include <time.h>
#include <sysdep.h>
-#include <kernel-features.h>
#include "kernel-posix-timers.h"
diff --git a/nptl/sysdeps/unix/sysv/linux/timer_gettime.c b/nptl/sysdeps/unix/sysv/linux/timer_gettime.c
index 902e1f9..7783034 100644
--- a/nptl/sysdeps/unix/sysv/linux/timer_gettime.c
+++ b/nptl/sysdeps/unix/sysv/linux/timer_gettime.c
@@ -20,7 +20,6 @@
#include <stdlib.h>
#include <time.h>
#include <sysdep.h>
-#include <kernel-features.h>
#include "kernel-posix-timers.h"
diff --git a/nptl/sysdeps/unix/sysv/linux/timer_routines.c b/nptl/sysdeps/unix/sysv/linux/timer_routines.c
index 2c383ba..4ac9bbe 100644
--- a/nptl/sysdeps/unix/sysv/linux/timer_routines.c
+++ b/nptl/sysdeps/unix/sysv/linux/timer_routines.c
@@ -21,7 +21,6 @@
#include <signal.h>
#include <stdbool.h>
#include <sysdep.h>
-#include <kernel-features.h>
#include <nptl/pthreadP.h>
#include "kernel-posix-timers.h"
diff --git a/nptl/sysdeps/unix/sysv/linux/timer_settime.c b/nptl/sysdeps/unix/sysv/linux/timer_settime.c
index 9d2529e..f7f7c91 100644
--- a/nptl/sysdeps/unix/sysv/linux/timer_settime.c
+++ b/nptl/sysdeps/unix/sysv/linux/timer_settime.c
@@ -20,7 +20,6 @@
#include <stdlib.h>
#include <time.h>
#include <sysdep.h>
-#include <kernel-features.h>
#include "kernel-posix-timers.h"
diff --git a/nscd/gai.c b/nscd/gai.c
index 47d3d40..95373e4 100644
--- a/nscd/gai.c
+++ b/nscd/gai.c
@@ -16,7 +16,6 @@
along with this program; if not, see <http://www.gnu.org/licenses/>. */
#include <alloca.h>
-#include <kernel-features.h>
/* This file uses the getaddrinfo code but it compiles it without NSCD
support. We just need a few symbol renames. */
diff --git a/nss/nss_db/db-open.c b/nss/nss_db/db-open.c
index ea867a7..9c6969a 100644
--- a/nss/nss_db/db-open.c
+++ b/nss/nss_db/db-open.c
@@ -25,7 +25,6 @@
#include <sys/mman.h>
#include <not-cancel.h>
-#include <kernel-features.h>
#include "nss_db.h"
/* Open the database stored in FILE. If succesful, store either a
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index 6cf5e1b..96f018d 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -38,7 +38,6 @@
#include <bits/libc-lock.h>
#include <hp-timing.h>
#include <tls.h>
-#include <kernel-features.h>
__BEGIN_DECLS
diff --git a/sysdeps/sh/nptl/tls.h b/sysdeps/sh/nptl/tls.h
index d4d3e93..5a82975 100644
--- a/sysdeps/sh/nptl/tls.h
+++ b/sysdeps/sh/nptl/tls.h
@@ -28,7 +28,6 @@
# include <stdlib.h>
# include <list.h>
# include <sysdep.h>
-# include <kernel-features.h>
/* Type for the dtv. */
typedef union dtv
diff --git a/sysdeps/unix/sysv/linux/aarch64/sigaction.c b/sysdeps/unix/sysv/linux/aarch64/sigaction.c
index 418207f..7dabe46 100644
--- a/sysdeps/unix/sysv/linux/aarch64/sigaction.c
+++ b/sysdeps/unix/sysv/linux/aarch64/sigaction.c
@@ -23,8 +23,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#define SA_RESTORER 0x04000000
/* The difference here is that the sigaction structure used in the
diff --git a/sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h b/sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h
index 3291fd9..03f7117 100644
--- a/sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h
+++ b/sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h
@@ -17,7 +17,6 @@
<http://www.gnu.org/licenses/>. */
#include <sys/ucontext.h>
-#include "kernel-features.h"
#define SIGCONTEXT siginfo_t *_si, struct ucontext *
#define GET_PC(ctx) ((void *) (ctx)->uc_mcontext.pc)
diff --git a/sysdeps/unix/sysv/linux/aarch64/vfork.S b/sysdeps/unix/sysv/linux/aarch64/vfork.S
index 316cb65..6244aed 100644
--- a/sysdeps/unix/sysv/linux/aarch64/vfork.S
+++ b/sysdeps/unix/sysv/linux/aarch64/vfork.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
-#include <kernel-features.h>
/* Clone the calling process, but without copying the whole address space.
The calling process is suspended until the new process exits or is
diff --git a/sysdeps/unix/sysv/linux/adjtime.c b/sysdeps/unix/sysv/linux/adjtime.c
index ef31cc5..90300b5 100644
--- a/sysdeps/unix/sysv/linux/adjtime.c
+++ b/sysdeps/unix/sysv/linux/adjtime.c
@@ -20,8 +20,6 @@
#include <sys/time.h>
#include <sys/timex.h>
-#include <kernel-features.h>
-
#define MAX_SEC (INT_MAX / 1000000L - 2)
#define MIN_SEC (INT_MIN / 1000000L + 2)
diff --git a/sysdeps/unix/sysv/linux/alpha/xstatconv.h b/sysdeps/unix/sysv/linux/alpha/xstatconv.h
index 9b25977..25bc8ca 100644
--- a/sysdeps/unix/sysv/linux/alpha/xstatconv.h
+++ b/sysdeps/unix/sysv/linux/alpha/xstatconv.h
@@ -16,7 +16,6 @@
License along with the GNU C Library. If not, see
<http://www.gnu.org/licenses/>. */
-#include <kernel-features.h>
#include <sys/syscall.h>
extern int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
diff --git a/sysdeps/unix/sysv/linux/arm/sigaction.c b/sysdeps/unix/sysv/linux/arm/sigaction.c
index e1d87cb..24a2774f8 100644
--- a/sysdeps/unix/sysv/linux/arm/sigaction.c
+++ b/sysdeps/unix/sysv/linux/arm/sigaction.c
@@ -21,7 +21,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
/* The difference here is that the sigaction structure used in the
kernel is not the same as we use in the libc. Therefore we must
diff --git a/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h b/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
index 258703d..aae6bbd 100644
--- a/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
+++ b/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
@@ -17,7 +17,6 @@
<http://www.gnu.org/licenses/>. */
#include <sys/ucontext.h>
-#include "kernel-features.h"
#define SIGCONTEXT siginfo_t *_si, struct ucontext *
#define SIGCONTEXT_EXTRA_ARGS _si,
diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c
index e6a12ed..1bc1def 100644
--- a/sysdeps/unix/sysv/linux/check_pf.c
+++ b/sysdeps/unix/sysv/linux/check_pf.c
@@ -32,7 +32,6 @@
#include <linux/rtnetlink.h>
#include <not-cancel.h>
-#include <kernel-features.h>
#include <bits/libc-lock.h>
#include <atomic.h>
#include <nscd/nscd-client.h>
diff --git a/sysdeps/unix/sysv/linux/clock_getcpuclockid.c b/sysdeps/unix/sysv/linux/clock_getcpuclockid.c
index b1e3db5..bf55679 100644
--- a/sysdeps/unix/sysv/linux/clock_getcpuclockid.c
+++ b/sysdeps/unix/sysv/linux/clock_getcpuclockid.c
@@ -19,7 +19,6 @@
#include <errno.h>
#include <time.h>
#include <unistd.h>
-#include <kernel-features.h>
#include "kernel-posix-cpu-timers.h"
int
diff --git a/sysdeps/unix/sysv/linux/clock_getres.c b/sysdeps/unix/sysv/linux/clock_getres.c
index e822b94..ff4b8f2 100644
--- a/sysdeps/unix/sysv/linux/clock_getres.c
+++ b/sysdeps/unix/sysv/linux/clock_getres.c
@@ -20,7 +20,6 @@
#include <errno.h>
#include <time.h>
#include "kernel-posix-cpu-timers.h"
-#include <kernel-features.h>
#ifndef HAVE_CLOCK_GETRES_VSYSCALL
# undef INTERNAL_VSYSCALL
diff --git a/sysdeps/unix/sysv/linux/clock_gettime.c b/sysdeps/unix/sysv/linux/clock_gettime.c
index a3182628..3183b7e 100644
--- a/sysdeps/unix/sysv/linux/clock_gettime.c
+++ b/sysdeps/unix/sysv/linux/clock_gettime.c
@@ -20,7 +20,6 @@
#include <errno.h>
#include <time.h>
#include "kernel-posix-cpu-timers.h"
-#include <kernel-features.h>
#ifndef HAVE_CLOCK_GETTIME_VSYSCALL
# undef INTERNAL_VSYSCALL
diff --git a/sysdeps/unix/sysv/linux/clock_nanosleep.c b/sysdeps/unix/sysv/linux/clock_nanosleep.c
index 0597c5e..174c0d0 100644
--- a/sysdeps/unix/sysv/linux/clock_nanosleep.c
+++ b/sysdeps/unix/sysv/linux/clock_nanosleep.c
@@ -19,7 +19,6 @@
#include <errno.h>
#include <sysdep-cancel.h>
-#include <kernel-features.h>
#include "kernel-posix-cpu-timers.h"
diff --git a/sysdeps/unix/sysv/linux/clock_settime.c b/sysdeps/unix/sysv/linux/clock_settime.c
index 394c0a3..0448bfe 100644
--- a/sysdeps/unix/sysv/linux/clock_settime.c
+++ b/sysdeps/unix/sysv/linux/clock_settime.c
@@ -20,7 +20,6 @@
#include <time.h>
#include "kernel-posix-cpu-timers.h"
-#include <kernel-features.h>
#ifndef HAVE_CLOCK_GETRES_VSYSCALL
# undef INTERNAL_VSYSCALL
diff --git a/sysdeps/unix/sysv/linux/dl-execstack.c b/sysdeps/unix/sysv/linux/dl-execstack.c
index 159fd96..8bac497 100644
--- a/sysdeps/unix/sysv/linux/dl-execstack.c
+++ b/sysdeps/unix/sysv/linux/dl-execstack.c
@@ -25,8 +25,6 @@
#include <caller.h>
#include <sysdep.h>
-#include <kernel-features.h>
-
extern int __stack_prot attribute_relro attribute_hidden;
diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h
index fd82287..eb9c3773 100644
--- a/sysdeps/unix/sysv/linux/dl-osinfo.h
+++ b/sysdeps/unix/sysv/linux/dl-osinfo.h
@@ -16,7 +16,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <kernel-features.h>
#include <dl-sysdep.h>
#include <endian.h>
#include <fcntl.h>
diff --git a/sysdeps/unix/sysv/linux/dl-sysdep.c b/sysdeps/unix/sysv/linux/dl-sysdep.c
index 2810074..27b09dd 100644
--- a/sysdeps/unix/sysv/linux/dl-sysdep.c
+++ b/sysdeps/unix/sysv/linux/dl-sysdep.c
@@ -24,7 +24,6 @@
#include <unistd.h>
#include <sys/utsname.h>
#include <ldsodefs.h>
-#include <kernel-features.h>
#ifdef SHARED
# define DL_SYSDEP_INIT frob_brk ()
diff --git a/sysdeps/unix/sysv/linux/generic/futimesat.c b/sysdeps/unix/sysv/linux/generic/futimesat.c
index 0e9c983..eece2f9 100644
--- a/sysdeps/unix/sysv/linux/generic/futimesat.c
+++ b/sysdeps/unix/sysv/linux/generic/futimesat.c
@@ -24,7 +24,6 @@
#include <utime.h>
#include <sys/time.h>
#include <sysdep.h>
-#include <kernel-features.h>
/* Change the access time of FILE relative to FD to TVP[0] and
diff --git a/sysdeps/unix/sysv/linux/generic/poll.c b/sysdeps/unix/sysv/linux/generic/poll.c
index 6234277..9639d5b 100644
--- a/sysdeps/unix/sysv/linux/generic/poll.c
+++ b/sysdeps/unix/sysv/linux/generic/poll.c
@@ -22,8 +22,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
int
__poll (struct pollfd *fds, nfds_t nfds, int timeout)
{
diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c
index 2637f03..17ddcf6 100644
--- a/sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c
+++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c
@@ -23,7 +23,6 @@
#include <stdarg.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
static int
diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c
index 94769b6..e93dd3a 100644
--- a/sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c
+++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c
@@ -25,7 +25,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
#include "overflow.h"
diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c
index 2bffd1f..d4863d6 100644
--- a/sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c
+++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c
@@ -25,8 +25,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
static ssize_t
do_pread (int fd, void *buf, size_t count, off_t offset)
{
diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
index 093b874..e50ac21 100644
--- a/sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
+++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
@@ -24,8 +24,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
static ssize_t
do_pread64 (int fd, void *buf, size_t count, off64_t offset)
{
diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
index 1dae127..19bbafb 100644
--- a/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
+++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
@@ -26,8 +26,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
static ssize_t
do_preadv (int fd, const struct iovec *vector, int count, off_t offset)
{
diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
index 32cc314..c08c43e 100644
--- a/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
+++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
@@ -25,8 +25,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
static ssize_t
do_preadv64 (int fd, const struct iovec *vector, int count, off64_t offset)
{
diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
index 909255b..5f9b687 100644
--- a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
+++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
@@ -25,8 +25,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
static ssize_t
do_pwrite (int fd, const void *buf, size_t count, off_t offset)
{
diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
index cbdb9e9..ea8890e 100644
--- a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
+++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
@@ -24,8 +24,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
static ssize_t
do_pwrite64 (int fd, const void *buf, size_t count, off64_t offset)
{
diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
index a166e32..8f1d669 100644
--- a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
+++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
@@ -26,8 +26,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
static ssize_t
do_pwritev (int fd, const struct iovec *vector, int count, off_t offset)
{
diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c
index 33f4e80..3101a48 100644
--- a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c
+++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c
@@ -25,8 +25,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
static ssize_t
do_pwritev64 (int fd, const struct iovec *vector, int count, off64_t offset)
{
diff --git a/sysdeps/unix/sysv/linux/getcwd.c b/sysdeps/unix/sysv/linux/getcwd.c
index ccf3bf2..a9abcef 100644
--- a/sysdeps/unix/sysv/linux/getcwd.c
+++ b/sysdeps/unix/sysv/linux/getcwd.c
@@ -27,8 +27,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
/* If we compile the file for use in ld.so we don't need the feature
that getcwd() allocates the buffers itself. */
diff --git a/sysdeps/unix/sysv/linux/getpagesize.c b/sysdeps/unix/sysv/linux/getpagesize.c
index 95050cc..7db7df1 100644
--- a/sysdeps/unix/sysv/linux/getpagesize.c
+++ b/sysdeps/unix/sysv/linux/getpagesize.c
@@ -20,7 +20,6 @@
#include <sys/param.h>
#include <ldsodefs.h>
-#include <kernel-features.h>
/* Return the system page size. */
int
diff --git a/sysdeps/unix/sysv/linux/getsysstats.c b/sysdeps/unix/sysv/linux/getsysstats.c
index 755c259..2a81184 100644
--- a/sysdeps/unix/sysv/linux/getsysstats.c
+++ b/sysdeps/unix/sysv/linux/getsysstats.c
@@ -34,7 +34,6 @@
#include <atomic.h>
#include <not-cancel.h>
-#include <kernel-features.h>
/* How we can determine the number of available processors depends on
diff --git a/sysdeps/unix/sysv/linux/i386/fxstat.c b/sysdeps/unix/sysv/linux/i386/fxstat.c
index 0eaaf25..b2345aa 100644
--- a/sysdeps/unix/sysv/linux/i386/fxstat.c
+++ b/sysdeps/unix/sysv/linux/i386/fxstat.c
@@ -28,8 +28,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#include <xstatconv.h>
/* Get information about the file FD in BUF. */
diff --git a/sysdeps/unix/sysv/linux/i386/lxstat.c b/sysdeps/unix/sysv/linux/i386/lxstat.c
index 61bcb0c..911c366 100644
--- a/sysdeps/unix/sysv/linux/i386/lxstat.c
+++ b/sysdeps/unix/sysv/linux/i386/lxstat.c
@@ -28,8 +28,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#include <xstatconv.h>
diff --git a/sysdeps/unix/sysv/linux/i386/mmap.S b/sysdeps/unix/sysv/linux/i386/mmap.S
index 923c51b..71f278a 100644
--- a/sysdeps/unix/sysv/linux/i386/mmap.S
+++ b/sysdeps/unix/sysv/linux/i386/mmap.S
@@ -17,8 +17,6 @@
#include <sysdep.h>
-#include <kernel-features.h>
-
#define EINVAL 22
.text
diff --git a/sysdeps/unix/sysv/linux/i386/mmap64.S b/sysdeps/unix/sysv/linux/i386/mmap64.S
index c6fef0c..97438f3 100644
--- a/sysdeps/unix/sysv/linux/i386/mmap64.S
+++ b/sysdeps/unix/sysv/linux/i386/mmap64.S
@@ -17,8 +17,6 @@
#include <sysdep.h>
-#include <kernel-features.h>
-
#define EINVAL 22
#define ENOSYS 38
diff --git a/sysdeps/unix/sysv/linux/i386/sigaction.c b/sysdeps/unix/sysv/linux/i386/sigaction.c
index a901bc6..778037a 100644
--- a/sysdeps/unix/sysv/linux/i386/sigaction.c
+++ b/sysdeps/unix/sysv/linux/i386/sigaction.c
@@ -26,8 +26,6 @@
#include <sys/syscall.h>
#include <ldsodefs.h>
-#include <kernel-features.h>
-
/* The difference here is that the sigaction structure used in the
kernel is not the same as we use in the libc. Therefore we must
translate it here. */
diff --git a/sysdeps/unix/sysv/linux/i386/vfork.S b/sysdeps/unix/sysv/linux/i386/vfork.S
index 2c3d4a3..f295d36 100644
--- a/sysdeps/unix/sysv/linux/i386/vfork.S
+++ b/sysdeps/unix/sysv/linux/i386/vfork.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
-#include <kernel-features.h>
#include <tcb-offsets.h>
diff --git a/sysdeps/unix/sysv/linux/i386/xstat.c b/sysdeps/unix/sysv/linux/i386/xstat.c
index 593282d..f8a96c5 100644
--- a/sysdeps/unix/sysv/linux/i386/xstat.c
+++ b/sysdeps/unix/sysv/linux/i386/xstat.c
@@ -28,8 +28,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#include <xstatconv.h>
diff --git a/sysdeps/unix/sysv/linux/ia64/system.c b/sysdeps/unix/sysv/linux/ia64/system.c
index 7ac8afc..498980f 100644
--- a/sysdeps/unix/sysv/linux/ia64/system.c
+++ b/sysdeps/unix/sysv/linux/ia64/system.c
@@ -15,8 +15,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <kernel-features.h>
-
/* We have to and actually can handle cancelable system(). The big
problem: we have to kill the child process if necessary. To do
this a cleanup handler has to be registered and is has to be able
diff --git a/sysdeps/unix/sysv/linux/if_index.c b/sysdeps/unix/sysv/linux/if_index.c
index f8948a4..0fac763 100644
--- a/sysdeps/unix/sysv/linux/if_index.c
+++ b/sysdeps/unix/sysv/linux/if_index.c
@@ -26,7 +26,6 @@
#include <sys/ioctl.h>
#include <bits/libc-lock.h>
#include <not-cancel.h>
-#include <kernel-features.h>
#include "netlinkaccess.h"
diff --git a/sysdeps/unix/sysv/linux/ifaddrs.c b/sysdeps/unix/sysv/linux/ifaddrs.c
index 6deb094..2c04e17 100644
--- a/sysdeps/unix/sysv/linux/ifaddrs.c
+++ b/sysdeps/unix/sysv/linux/ifaddrs.c
@@ -32,7 +32,6 @@
#include <sysdep.h>
#include <time.h>
#include <unistd.h>
-#include <kernel-features.h>
#include "netlinkaccess.h"
diff --git a/sysdeps/unix/sysv/linux/ifreq.c b/sysdeps/unix/sysv/linux/ifreq.c
index 58f5191..c404c8f 100644
--- a/sysdeps/unix/sysv/linux/ifreq.c
+++ b/sysdeps/unix/sysv/linux/ifreq.c
@@ -17,7 +17,6 @@
<http://www.gnu.org/licenses/>. */
#include "ifreq.h"
-#include <kernel-features.h>
void
diff --git a/sysdeps/unix/sysv/linux/ldsodefs.h b/sysdeps/unix/sysv/linux/ldsodefs.h
index a6bc5a9..cb35b90 100644
--- a/sysdeps/unix/sysv/linux/ldsodefs.h
+++ b/sysdeps/unix/sysv/linux/ldsodefs.h
@@ -18,8 +18,6 @@
#ifndef _LDSODEFS_H
-#include <kernel-features.h>
-
/* Get the real definitions. */
#include_next <ldsodefs.h>
diff --git a/sysdeps/unix/sysv/linux/lutimes.c b/sysdeps/unix/sysv/linux/lutimes.c
index 6a4a62a..03d3a65 100644
--- a/sysdeps/unix/sysv/linux/lutimes.c
+++ b/sysdeps/unix/sysv/linux/lutimes.c
@@ -22,7 +22,6 @@
#include <time.h>
#include <sys/time.h>
#include <sysdep.h>
-#include <kernel-features.h>
int
diff --git a/sysdeps/unix/sysv/linux/m68k/vfork.S b/sysdeps/unix/sysv/linux/m68k/vfork.S
index 30fa628..0f56d57 100644
--- a/sysdeps/unix/sysv/linux/m68k/vfork.S
+++ b/sysdeps/unix/sysv/linux/m68k/vfork.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
-#include <kernel-features.h>
#include <tcb-offsets.h>
/* Clone the calling process, but without copying the whole address space.
diff --git a/sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S b/sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S
index 6b7b81d..dfeb54a 100644
--- a/sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S
+++ b/sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
-#include <kernel-features.h>
#include <tcb-offsets.h>
/* Clone the calling process, but without copying the whole address space.
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/accept4.c b/sysdeps/unix/sysv/linux/mips/mips32/accept4.c
index 344d521..f81e33e 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/accept4.c
+++ b/sysdeps/unix/sysv/linux/mips/mips32/accept4.c
@@ -24,7 +24,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
#undef __NR_socketcall
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c b/sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c
index fa176e7..5cdbac5 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c
+++ b/sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c
@@ -23,7 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
#undef __NR_socketcall
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c b/sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c
index e7287de..d7cb380 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c
+++ b/sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c
@@ -23,7 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
#undef __NR_socketcall
diff --git a/sysdeps/unix/sysv/linux/mips/pread.c b/sysdeps/unix/sysv/linux/mips/pread.c
index 38fb06b..aa485bd 100644
--- a/sysdeps/unix/sysv/linux/mips/pread.c
+++ b/sysdeps/unix/sysv/linux/mips/pread.c
@@ -27,8 +27,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pread
# error "__NR_pread and __NR_pread64 both defined???"
diff --git a/sysdeps/unix/sysv/linux/mips/pread64.c b/sysdeps/unix/sysv/linux/mips/pread64.c
index 9c2d5fd..6712408 100644
--- a/sysdeps/unix/sysv/linux/mips/pread64.c
+++ b/sysdeps/unix/sysv/linux/mips/pread64.c
@@ -26,8 +26,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pread
# error "__NR_pread and __NR_pread64 both defined???"
diff --git a/sysdeps/unix/sysv/linux/mips/pwrite.c b/sysdeps/unix/sysv/linux/mips/pwrite.c
index 426a534..4e87be7 100644
--- a/sysdeps/unix/sysv/linux/mips/pwrite.c
+++ b/sysdeps/unix/sysv/linux/mips/pwrite.c
@@ -27,8 +27,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pwrite
# error "__NR_pwrite and __NR_pwrite64 both defined???"
diff --git a/sysdeps/unix/sysv/linux/mips/pwrite64.c b/sysdeps/unix/sysv/linux/mips/pwrite64.c
index 6e12d5d..98a3186 100644
--- a/sysdeps/unix/sysv/linux/mips/pwrite64.c
+++ b/sysdeps/unix/sysv/linux/mips/pwrite64.c
@@ -26,8 +26,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pwrite
# error "__NR_pwrite and __NR_pwrite64 both defined???"
diff --git a/sysdeps/unix/sysv/linux/mips/sigaction.c b/sysdeps/unix/sysv/linux/mips/sigaction.c
index a8ba3fe..6b808a6 100644
--- a/sysdeps/unix/sysv/linux/mips/sigaction.c
+++ b/sysdeps/unix/sysv/linux/mips/sigaction.c
@@ -25,8 +25,6 @@
#include <sgidefs.h>
-#include <kernel-features.h>
-
/* The difference here is that the sigaction structure used in the
kernel is not the same as we use in the libc. Therefore we must
translate it here. */
diff --git a/sysdeps/unix/sysv/linux/mmap64.c b/sysdeps/unix/sysv/linux/mmap64.c
index aa02eaa..17804fc 100644
--- a/sysdeps/unix/sysv/linux/mmap64.c
+++ b/sysdeps/unix/sysv/linux/mmap64.c
@@ -24,8 +24,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
/* This is always 12, even on architectures where PAGE_SHIFT != 12. */
#if MMAP2_PAGE_SHIFT == -1
static int page_shift;
diff --git a/sysdeps/unix/sysv/linux/netlinkaccess.h b/sysdeps/unix/sysv/linux/netlinkaccess.h
index 2917016..5695cad 100644
--- a/sysdeps/unix/sysv/linux/netlinkaccess.h
+++ b/sysdeps/unix/sysv/linux/netlinkaccess.h
@@ -23,8 +23,6 @@
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
-#include <kernel-features.h>
-
struct netlink_res
{
diff --git a/sysdeps/unix/sysv/linux/powerpc/chown.c b/sysdeps/unix/sysv/linux/powerpc/chown.c
index cabca01..59c6147 100644
--- a/sysdeps/unix/sysv/linux/powerpc/chown.c
+++ b/sysdeps/unix/sysv/linux/powerpc/chown.c
@@ -23,8 +23,6 @@
#include <sysdep.h>
#include <stdlib.h>
-#include <kernel-features.h>
-
/* Consider moving to syscalls.list. */
/*
diff --git a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
index 354c4e0..e2955d8 100644
--- a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
+++ b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
@@ -17,7 +17,6 @@
<http://www.gnu.org/licenses/>. */
#include <config.h>
-#include <kernel-features.h>
#include <ldsodefs.h>
int __cache_line_size attribute_hidden;
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
index 0463810..155f663 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
-#include <kernel-features.h>
#define CLONE_VM 0x00000100
#define CLONE_THREAD 0x00010000
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
index 7f65eaf..7705758 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
@@ -22,7 +22,6 @@
#include <unistd.h>
#include <sysdep.h>
#include <sys/prctl.h>
-#include <kernel-features.h>
const fenv_t *
__fe_mask_env (void)
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
index 6f20b05..1da4912 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
@@ -22,7 +22,6 @@
#include <unistd.h>
#include <sysdep.h>
#include <sys/prctl.h>
-#include <kernel-features.h>
#include <shlib-compat.h>
const fenv_t *
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
index cab1fda..9261626 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#include <rtld-global-offsets.h>
#include <shlib-compat.h>
-#include <kernel-features.h>
#define __ASSEMBLY__
#include <asm/ptrace.h>
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
index 35ac9c2..33df944 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
@@ -23,8 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
ssize_t
__libc_pread (fd, buf, count, offset)
int fd;
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
index 399419b..b6e478f 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
@@ -22,8 +22,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
ssize_t
__libc_pread64 (fd, buf, count, offset)
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
index 77d39cf..90e4c9d 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
@@ -23,8 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
ssize_t
__libc_pwrite (fd, buf, count, offset)
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
index 02e9919..7f93ab7 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
@@ -22,8 +22,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
ssize_t
__libc_pwrite64 (fd, buf, count, offset)
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
index ce00967..e9afdcd 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#include <rtld-global-offsets.h>
#include <shlib-compat.h>
-#include <kernel-features.h>
#define __ASSEMBLY__
#include <asm/ptrace.h>
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
index 007fab7..b42f8b5 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#include <rtld-global-offsets.h>
#include <shlib-compat.h>
-#include <kernel-features.h>
#define __ASSEMBLY__
#include <asm/ptrace.h>
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S
index 8a84336..8272641 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S
@@ -18,7 +18,6 @@
#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
-#include <kernel-features.h>
#include <tcb-offsets.h>
/* Clone the calling process, but without copying the whole address space.
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
index 35fc584..bc1c038 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
@@ -21,7 +21,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
#include <sys/prctl.h>
-#include <kernel-features.h>
const fenv_t *
__fe_mask_env (void)
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
index c6c156c..a5d4b55 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
@@ -21,7 +21,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
#include <sys/prctl.h>
-#include <kernel-features.h>
#include <shlib-compat.h>
const fenv_t *
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
index 85ae1c8..7294e26 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#include <rtld-global-offsets.h>
#include <shlib-compat.h>
-#include <kernel-features.h>
#define __ASSEMBLY__
#include <asm/ptrace.h>
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
index e22f5a6..82a8fc2 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
@@ -17,7 +17,6 @@
<http://www.gnu.org/licenses/>. */
#include <sysdep.h>
-#include <kernel-features.h>
#define __ASSEMBLY__
#include <asm/ptrace.h>
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
index 4824010..d85ab90 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
@@ -23,8 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
/* Consider moving to syscalls.list. */
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
index 2f91580..5bdeada 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
@@ -22,8 +22,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
/* Consider moving to syscalls.list. */
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
index cc62a50..7577d2e 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
@@ -23,8 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
/* Consider moving to syscalls.list. */
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
index a854397..26ea65a 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
@@ -22,8 +22,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
/* Consider moving to syscalls.list. */
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
index 0cb84dc..be125a2 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#include <rtld-global-offsets.h>
#include <shlib-compat.h>
-#include <kernel-features.h>
#define __ASSEMBLY__
#include <asm/ptrace.h>
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
index 1d92eb4..de2911e 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
@@ -19,7 +19,6 @@
#include <sysdep.h>
#include <rtld-global-offsets.h>
#include <shlib-compat.h>
-#include <kernel-features.h>
#define __ASSEMBLY__
#include <asm/ptrace.h>
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S
index 72e6da8..27995fd 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S
@@ -18,7 +18,6 @@
#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
-#include <kernel-features.h>
#include <tcb-offsets.h>
/* Clone the calling process, but without copying the whole address space.
diff --git a/sysdeps/unix/sysv/linux/pread.c b/sysdeps/unix/sysv/linux/pread.c
index 81de195..860efcb 100644
--- a/sysdeps/unix/sysv/linux/pread.c
+++ b/sysdeps/unix/sysv/linux/pread.c
@@ -24,8 +24,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pread
# error "__NR_pread and __NR_pread64 both defined???"
diff --git a/sysdeps/unix/sysv/linux/pread64.c b/sysdeps/unix/sysv/linux/pread64.c
index 0bb2ec2..dc74dec 100644
--- a/sysdeps/unix/sysv/linux/pread64.c
+++ b/sysdeps/unix/sysv/linux/pread64.c
@@ -23,8 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pread
# error "__NR_pread and __NR_pread64 both defined???"
diff --git a/sysdeps/unix/sysv/linux/prof-freq.c b/sysdeps/unix/sysv/linux/prof-freq.c
index bc8ddcd..af4d39a 100644
--- a/sysdeps/unix/sysv/linux/prof-freq.c
+++ b/sysdeps/unix/sysv/linux/prof-freq.c
@@ -18,7 +18,6 @@
#include <sys/time.h>
#include <libc-internal.h>
-#include <kernel-features.h>
#include <ldsodefs.h>
diff --git a/sysdeps/unix/sysv/linux/pwrite.c b/sysdeps/unix/sysv/linux/pwrite.c
index c4bcff7..87ec555 100644
--- a/sysdeps/unix/sysv/linux/pwrite.c
+++ b/sysdeps/unix/sysv/linux/pwrite.c
@@ -24,8 +24,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pwrite
# error "__NR_pwrite and __NR_pwrite64 both defined???"
diff --git a/sysdeps/unix/sysv/linux/pwrite64.c b/sysdeps/unix/sysv/linux/pwrite64.c
index c1e1d47..3440871 100644
--- a/sysdeps/unix/sysv/linux/pwrite64.c
+++ b/sysdeps/unix/sysv/linux/pwrite64.c
@@ -23,8 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pwrite
# error "__NR_pwrite and __NR_pwrite64 both defined???"
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/mmap.S b/sysdeps/unix/sysv/linux/s390/s390-32/mmap.S
index 8844d42..523f35c 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/mmap.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/mmap.S
@@ -17,7 +17,6 @@
<http://www.gnu.org/licenses/>. */
#include <sysdep.h>
-#include <kernel-features.h>
#define EINVAL 22
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S b/sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S
index e747beb..380cf85 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S
@@ -17,7 +17,6 @@
<http://www.gnu.org/licenses/>. */
#include <sysdep.h>
-#include <kernel-features.h>
#define EINVAL 22
#define ENOSYS 38
diff --git a/sysdeps/unix/sysv/linux/s390/system.c b/sysdeps/unix/sysv/linux/s390/system.c
index f30e92c..5f9de6a 100644
--- a/sysdeps/unix/sysv/linux/s390/system.c
+++ b/sysdeps/unix/sysv/linux/s390/system.c
@@ -15,8 +15,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <kernel-features.h>
-
/* We have to and actually can handle cancelable system(). The big
problem: we have to kill the child process if necessary. To do
this a cleanup handler has to be registered and is has to be able
diff --git a/sysdeps/unix/sysv/linux/sh/pread.c b/sysdeps/unix/sysv/linux/sh/pread.c
index a2a37b1..bd2b3fd 100644
--- a/sysdeps/unix/sysv/linux/sh/pread.c
+++ b/sysdeps/unix/sysv/linux/sh/pread.c
@@ -24,8 +24,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pread
# error "__NR_pread and __NR_pread64 both defined???"
diff --git a/sysdeps/unix/sysv/linux/sh/pread64.c b/sysdeps/unix/sysv/linux/sh/pread64.c
index 5fd50c2..853dab7 100644
--- a/sysdeps/unix/sysv/linux/sh/pread64.c
+++ b/sysdeps/unix/sysv/linux/sh/pread64.c
@@ -23,8 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pread
# error "__NR_pread and __NR_pread64 both defined???"
diff --git a/sysdeps/unix/sysv/linux/sh/pwrite.c b/sysdeps/unix/sysv/linux/sh/pwrite.c
index 887b36b..b515525 100644
--- a/sysdeps/unix/sysv/linux/sh/pwrite.c
+++ b/sysdeps/unix/sysv/linux/sh/pwrite.c
@@ -24,8 +24,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pwrite
# error "__NR_pwrite and __NR_pwrite64 both defined???"
diff --git a/sysdeps/unix/sysv/linux/sh/pwrite64.c b/sysdeps/unix/sysv/linux/sh/pwrite64.c
index bd55778..0050a8d 100644
--- a/sysdeps/unix/sysv/linux/sh/pwrite64.c
+++ b/sysdeps/unix/sysv/linux/sh/pwrite64.c
@@ -23,8 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
#ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */
# ifdef __NR_pwrite
# error "__NR_pwrite and __NR_pwrite64 both defined???"
diff --git a/sysdeps/unix/sysv/linux/sigaction.c b/sysdeps/unix/sysv/linux/sigaction.c
index 043d164..eaa5175 100644
--- a/sysdeps/unix/sysv/linux/sigaction.c
+++ b/sysdeps/unix/sysv/linux/sigaction.c
@@ -22,8 +22,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
/* The difference here is that the sigaction structure used in the
kernel is not the same as we use in the libc. Therefore we must
translate it here. */
diff --git a/sysdeps/unix/sysv/linux/sigpending.c b/sysdeps/unix/sysv/linux/sigpending.c
index cffe0a6..9cccb15 100644
--- a/sysdeps/unix/sysv/linux/sigpending.c
+++ b/sysdeps/unix/sysv/linux/sigpending.c
@@ -22,8 +22,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
/* Change the set of blocked signals to SET,
wait until a signal arrives, and restore the set of blocked signals. */
diff --git a/sysdeps/unix/sysv/linux/sigprocmask.c b/sysdeps/unix/sysv/linux/sigprocmask.c
index 8199874..5148aa4 100644
--- a/sysdeps/unix/sysv/linux/sigprocmask.c
+++ b/sysdeps/unix/sysv/linux/sigprocmask.c
@@ -24,7 +24,6 @@
#include <sys/syscall.h>
#include <nptl/pthreadP.h> /* SIGCANCEL, SIGSETXID */
-#include <kernel-features.h>
/* Get and/or change the set of blocked signals. */
diff --git a/sysdeps/unix/sysv/linux/sigsuspend.c b/sysdeps/unix/sysv/linux/sigsuspend.c
index becdcc4..3b393ad 100644
--- a/sysdeps/unix/sysv/linux/sigsuspend.c
+++ b/sysdeps/unix/sysv/linux/sigsuspend.c
@@ -22,8 +22,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
static inline int __attribute__ ((always_inline))
do_sigsuspend (const sigset_t *set)
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c b/sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c
index 87cc988..6a1ebd0 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c
@@ -21,7 +21,6 @@
#include <sys/stat.h>
#include <kernel_stat.h>
#include <string.h>
-#include <kernel-features.h>
int
__xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
diff --git a/sysdeps/unix/sysv/linux/sparc/system.c b/sysdeps/unix/sysv/linux/sparc/system.c
index c86e712..5247d4d 100644
--- a/sysdeps/unix/sysv/linux/sparc/system.c
+++ b/sysdeps/unix/sysv/linux/sparc/system.c
@@ -15,8 +15,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <kernel-features.h>
-
/* We have to and actually can handle cancelable system(). The big
problem: we have to kill the child process if necessary. To do
this a cleanup handler has to be registered and is has to be able
diff --git a/sysdeps/unix/sysv/linux/syslog.c b/sysdeps/unix/sysv/linux/syslog.c
index d01a91a..cf8ce23 100644
--- a/sysdeps/unix/sysv/linux/syslog.c
+++ b/sysdeps/unix/sysv/linux/syslog.c
@@ -1,5 +1,3 @@
-#include <kernel-features.h>
-
#define NO_SIGPIPE
#define send_flags MSG_NOSIGNAL
diff --git a/sysdeps/unix/sysv/linux/system.c b/sysdeps/unix/sysv/linux/system.c
index da0bda7..64a4e20 100644
--- a/sysdeps/unix/sysv/linux/system.c
+++ b/sysdeps/unix/sysv/linux/system.c
@@ -22,7 +22,6 @@
#include <unistd.h>
#include <sys/wait.h>
#include <bits/libc-lock.h>
-#include <kernel-features.h>
/* We have to and actually can handle cancelable system(). The big
problem: we have to kill the child process if necessary. To do
diff --git a/sysdeps/unix/sysv/linux/testrtsig.h b/sysdeps/unix/sysv/linux/testrtsig.h
index 73f7e55..afeeb26 100644
--- a/sysdeps/unix/sysv/linux/testrtsig.h
+++ b/sysdeps/unix/sysv/linux/testrtsig.h
@@ -20,8 +20,6 @@
#include <string.h>
#include <sys/utsname.h>
-#include <kernel-features.h>
-
static int
kernel_has_rtsig (void)
{
diff --git a/sysdeps/unix/sysv/linux/timespec_get.c b/sysdeps/unix/sysv/linux/timespec_get.c
index c4a8692..c26ec3f 100644
--- a/sysdeps/unix/sysv/linux/timespec_get.c
+++ b/sysdeps/unix/sysv/linux/timespec_get.c
@@ -17,7 +17,6 @@
#include <time.h>
#include <sysdep.h>
-#include <kernel-features.h>
#ifndef HAVE_CLOCK_GETTIME_VSYSCALL
# undef INTERNAL_VSYSCALL
diff --git a/sysdeps/unix/sysv/linux/ttyname.c b/sysdeps/unix/sysv/linux/ttyname.c
index d257d25..576d302 100644
--- a/sysdeps/unix/sysv/linux/ttyname.c
+++ b/sysdeps/unix/sysv/linux/ttyname.c
@@ -27,7 +27,6 @@
#include <stdlib.h>
#include <_itoa.h>
-#include <kernel-features.h>
#if 0
/* Is this used anywhere? It is not exported. */
diff --git a/sysdeps/unix/sysv/linux/ttyname_r.c b/sysdeps/unix/sysv/linux/ttyname_r.c
index 6ce85db..10a0baa 100644
--- a/sysdeps/unix/sysv/linux/ttyname_r.c
+++ b/sysdeps/unix/sysv/linux/ttyname_r.c
@@ -27,7 +27,6 @@
#include <stdlib.h>
#include <_itoa.h>
-#include <kernel-features.h>
static int getttyname_r (char *buf, size_t buflen,
dev_t mydev, ino64_t myino, int save,
diff --git a/sysdeps/unix/sysv/linux/utimensat.c b/sysdeps/unix/sysv/linux/utimensat.c
index 7ce34a0..6c48ff2 100644
--- a/sysdeps/unix/sysv/linux/utimensat.c
+++ b/sysdeps/unix/sysv/linux/utimensat.c
@@ -20,8 +20,6 @@
#include <sys/stat.h>
#include <sysdep.h>
-#include <kernel-features.h>
-
/* Change the access time of FILE to TSP[0] and
the modification time of FILE to TSP[1].
diff --git a/sysdeps/unix/sysv/linux/x86_64/sigaction.c b/sysdeps/unix/sysv/linux/x86_64/sigaction.c
index ab23985..6735b70 100644
--- a/sysdeps/unix/sysv/linux/x86_64/sigaction.c
+++ b/sysdeps/unix/sysv/linux/x86_64/sigaction.c
@@ -25,8 +25,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#include <kernel-features.h>
-
/* The difference here is that the sigaction structure used in the
kernel is not the same as we use in the libc. Therefore we must
translate it here. */
diff --git a/sysdeps/unix/sysv/linux/xstatconv.h b/sysdeps/unix/sysv/linux/xstatconv.h
index b8588b1..04e89ac 100644
--- a/sysdeps/unix/sysv/linux/xstatconv.h
+++ b/sysdeps/unix/sysv/linux/xstatconv.h
@@ -16,8 +16,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <kernel-features.h>
-
#ifndef STAT_IS_KERNEL_STAT
extern int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf);
extern int __xstat64_conv (int vers, struct kernel_stat *kbuf, void *ubuf);