Blame SOURCES/glibc-rh739184.patch

b9ba6d
2010-06-10  Andreas Schwab  <schwab@redhat.com>
b9ba6d
b9ba6d
	* sysdeps/unix/sysv/linux/getpagesize.c: Don't assume AT_PAGESIZE
b9ba6d
	is always available.
b9ba6d
b9ba6d
Index: glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/getpagesize.c
b9ba6d
===================================================================
b9ba6d
--- glibc-2.12-2-gc4ccff1.orig/sysdeps/unix/sysv/linux/getpagesize.c
b9ba6d
+++ glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/getpagesize.c
b9ba6d
@@ -28,7 +28,7 @@
b9ba6d
 int
b9ba6d
 __getpagesize ()
b9ba6d
 {
b9ba6d
-#ifdef __ASSUME_AT_PAGESIZE
b9ba6d
+#if 0 && defined __ASSUME_AT_PAGESIZE
b9ba6d
   assert (GLRO(dl_pagesize) != 0);
b9ba6d
   return GLRO(dl_pagesize);
b9ba6d
 #else