Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[microblaze] Remove __ASSUME_FUTIMESAT.
MicroBlaze has a special version of futimesat.c because it gained the
futimesat syscall later than other non-asm-generic architectures.  Now
the minimum kernel is recent enough that this syscall can always be
assumed to be present for MicroBlaze, so this patch removes the
special version and the __ASSUME_FUTIMESAT macro, resulting in the
sysdeps/unix/sysv/linux/futimesat.c version being used.

Untested.

	* sysdeps/unix/sysv/linux/microblaze/kernel-features.h
	(__ASSUME_FUTIMESAT): Remove macro.
	* sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
  • Loading branch information
Joseph Myers committed Mar 29, 2016
1 parent 317b199 commit 258ec8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 33 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
2016-03-29 Joseph Myers <joseph@codesourcery.com>

* sysdeps/unix/sysv/linux/microblaze/kernel-features.h
(__ASSUME_FUTIMESAT): Remove macro.
* sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.

2016-03-29 Florian Weimer <fweimer@redhat.com>

[BZ #19879]
Expand Down
30 changes: 0 additions & 30 deletions sysdeps/unix/sysv/linux/microblaze/futimesat.c

This file was deleted.

3 changes: 0 additions & 3 deletions sysdeps/unix/sysv/linux/microblaze/kernel-features.h
Expand Up @@ -41,9 +41,6 @@
/* Support for the accept4 and recvmmsg syscalls was added in 2.6.33. */
#define __ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL 1

/* Support for the futimesat syscall was added in 2.6.33. */
#define __ASSUME_FUTIMESAT 1

#include_next <kernel-features.h>

/* Support for the pselect6, preadv and pwritev syscalls was added in
Expand Down

0 comments on commit 258ec8a

Please sign in to comment.