Fix tst-writev on non-4K page size

This commit is contained in:
David S. Miller 2011-08-17 21:51:21 -04:00 committed by Ulrich Drepper
parent 44f0a71e58
commit c27714f111
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-08-14 David S. Miller <davem@firepit.lan>
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
artificual limit depends upon the system page size.
2011-08-17 Ulrich Drepper <drepper@gmail.com>
* Makeconfig (override CFLAGS): Add library-specific CFLAGS.

View File

@ -22,7 +22,7 @@ sysdep_routines += sysctl clone llseek umount umount2 readahead \
eventfd eventfd_read eventfd_write prlimit
CFLAGS-gethostid.c = -fexceptions
CFLAGS-tst-writev.c += -DARTIFICIAL_LIMIT=0x7ffff000
CFLAGS-tst-writev.c += "-DARTIFICIAL_LIMIT=0x80000000-__getpagesize()"
sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h \
sys/klog.h sys/kdaemon.h \