summary refs log tree commit diff
path: root/bits/mman.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-06-25 11:36:10 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-06-25 11:36:10 +0000
commitcecf2ed43a4c2eede0b58740f16e47f31e7586a4 (patch)
treeb15e9cdb4bff094dae290c581c0cf9750f106e9c /bits/mman.h
parenta638de828d877376fb238efc8b0bc9220dd2601e (diff)
downloadglibc-cecf2ed43a4c2eede0b58740f16e47f31e7586a4.tar.gz
glibc-cecf2ed43a4c2eede0b58740f16e47f31e7586a4.tar.xz
glibc-cecf2ed43a4c2eede0b58740f16e47f31e7586a4.zip
Remove __ASSUME_UTIMENSAT.
This patch removes the __ASSUME_UTIMENSAT macro, now it can be
unconditionally assumed to be true.

This shows that the only live uses of __ASSUME_UTIMES are in utimes.c
and they are only live for hppa.  I intend a followup patch to make
__ASSUME_UTIMES into an hppa-specific macro (not used or defined
outside sysdeps/unix/sysv/linux/hppa/).

Tested x86_64 that the disassembly of installed shared libraries is
unchanged by this patch.

	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
	Remove macro.
	* sysdeps/unix/sysv/linux/futimes.c: Do not include
	<kernel-features.h>.
	[__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
	conditional variable definition.
	(__futimes): Update comment.
	(__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
	(__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
Diffstat (limited to 'bits/mman.h')
0 files changed, 0 insertions, 0 deletions