glibc/sysdeps/unix/sysv/linux/sh
Joseph Myers 11b076bbae Remove stray includes of kernel-features.h.
Now that files using __ASSUME_* macros have been made by
<https://sourceware.org/ml/libc-alpha/2014-06/msg00543.html> to
include <kernel-features.h> directly, any include from a file not
using __ASSUME_* macros can safely be removed (as there will no longer
be some other file relying on indirect inclusion via a header from
which the include is being removed).

This patch removes such unnecessary kernel-features.h includes.

Tested x86_64 that disassembly of installed shared libraries is
unchanged by this patch, except for line numbers in calls to
__assert_fail from libc.so and ld.so.

2014-06-23  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.
2014-06-25 18:09:01 +00:00
..
bits Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sh3 Adjust SH specific fpu_control.h and ucontext.h files. 2014-01-23 14:22:58 +09:00
sh4 Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
sys Restore ucontext ABI for soft-float sh4. 2014-01-24 12:56:12 +09:00
____longjmp_chk.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
arch-fork.h SH: Convert fork.c to arch-fork.h 2014-05-27 12:58:01 -07:00
brk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
c++-types.data SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
chown.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
clone.S SH: Consolidate NPTL/non versions of clone 2014-05-28 17:23:19 -07:00
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
fchown.c
fcntl.c
fxstat.c
fxstatat.c
getegid.c
geteuid.c
getgid.c Add getgid.c for SH 2013-05-10 20:42:24 +02:00
getgroups.c
getresgid.c
getresuid.c
getrlimit64.c
getuid.c
lchown.c
ld.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
libanl.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
libBrokenLocale.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
libc-lowlevellock.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
libc.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
libcrypt.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
libdl.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
libm.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
libnsl.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
libpthread.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
libresolv.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
librt.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
libthread_db.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
libutil.abilist SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
lockf64.c
lowlevel-atomic.h Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
lowlevellock.h Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
lowlevellock.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
lowlevelrobustlock.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
lxstat.c
makecontext.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile SH: ____longjmp_chk for GNU/Linux with sigaltstack support. 2012-06-23 11:56:02 +02:00
msgctl.c
pipe.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pread64.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
pread.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
profil-counter.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pt-vfork.S SH: Consolidate NPTL/non versions of vfork 2014-06-02 14:29:19 -07:00
pthread_barrier_wait.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
pthread_cond_broadcast.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
pthread_cond_signal.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
pthread_cond_timedwait.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
pthread_cond_wait.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
pthread_once.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
pthread_rwlock_rdlock.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
pthread_rwlock_timedrdlock.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
pthread_rwlock_timedwrlock.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
pthread_rwlock_unlock.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
pthread_rwlock_wrlock.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
pwrite64.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
pwrite.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
sem_post.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
sem_timedwait.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
sem_trywait.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
sem_wait.S Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
semctl.c
setegid.c
seteuid.c
setfsgid.c
setfsuid.c
setgid.c
setgroups.c
setregid.c
setresgid.c
setresuid.c
setreuid.c
setrlimit.c
setuid.c
shmctl.c
sigaltstack-offsets.sym SH: ____longjmp_chk for GNU/Linux with sigaltstack support. 2012-06-23 11:56:02 +02:00
sigcontextinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
smp.h Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
socket.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
syscall.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
syscalls.list SH can do fanotify_mark, too. 2012-06-23 12:34:58 +02:00
sysdep-cancel.h Move SH code out of nptl/ subdirectory. 2014-06-12 09:05:54 -07:00
sysdep.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sysdep.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Versions SH can do fanotify_mark, too. 2012-06-23 12:34:58 +02:00
vfork.S SH: Consolidate NPTL/non versions of vfork 2014-06-02 14:29:19 -07:00
xstat.c