aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-08-17 21:51:21 -0400
committerUlrich Drepper <drepper@gmail.com>2011-08-17 21:51:21 -0400
commitc27714f111289f078c9787649f768b3e749f71f9 (patch)
tree8071de3e475266451c723693344b4f46c54f1ac4
parent44f0a71e58c854d6554a31cd1c3962926b49ee90 (diff)
downloadglibc-c27714f111289f078c9787649f768b3e749f71f9.tar
glibc-c27714f111289f078c9787649f768b3e749f71f9.tar.gz
glibc-c27714f111289f078c9787649f768b3e749f71f9.tar.bz2
glibc-c27714f111289f078c9787649f768b3e749f71f9.zip
Fix tst-writev on non-4K page size
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 60ecaad1bc..99fee4d855 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 63ef597461..af53f70c51 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -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 \