Skip to content

Commit

Permalink
alpha: drop __ASSUME_FDATASYNC
Browse files Browse the repository at this point in the history
Since we require a new enough kernel all the time, the __ASSUME_FDATASYNC
define has been hardcoded to 1.  That means we can delete the alpha file
for fdatasync now and rely on the syscalls list like other ports.
  • Loading branch information
Mike Frysinger committed Sep 18, 2015
1 parent a435cc4 commit 8a44513
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 52 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2015-09-17 Mike Frysinger <vapier@gentoo.org>

* sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
* sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
* sysdeps/unix/sysv/linux/alpha/kernel-features.h
(__ASSUME_FDATASYNC): Delete.

2015-09-17 Joseph Myers <joseph@codesourcery.com>

* conform/linknamespace.pl: Require weak undefined symbols to be
Expand Down
1 change: 0 additions & 1 deletion sysdeps/unix/sysv/linux/alpha/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ sysdep_routines += osf_select osf_gettimeofday osf_settimeofday \
# Support old ipc control
sysdep_routines += oldmsgctl oldsemctl oldshmctl

CFLAGS-fdatasync.c = -fexceptions
CFLAGS-ioperm.c = -Wa,-mev6
endif

Expand Down
48 changes: 0 additions & 48 deletions sysdeps/unix/sysv/linux/alpha/fdatasync.c

This file was deleted.

3 changes: 0 additions & 3 deletions sysdeps/unix/sysv/linux/alpha/kernel-features.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
#undef __ASSUME_STATFS64
#define __ASSUME_STATFS64 0

/* Support for fsyncdata was added for alpha after 2.6.21. */
#define __ASSUME_FDATASYNC 1

/* Support for various syscalls was added for alpha in 2.6.33. */
#if __LINUX_KERNEL_VERSION < 0x020621
# undef __ASSUME_PREADV
Expand Down

0 comments on commit 8a44513

Please sign in to comment.