[uClibc-cvs] uClibc/ldso/include ldso.h,1.2,1.3

Erik Andersen andersen at uclibc.org
Tue Jan 6 01:05:14 UTC 2004


Update of /var/cvs/uClibc/ldso/include
In directory nail:/tmp/cvs-serv1777/include

Modified Files:
	ldso.h 
Log Message:
Some badly behaved arches fail to provide a PAGE_SIZE define


Index: ldso.h
===================================================================
RCS file: /var/cvs/uClibc/ldso/include/ldso.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ldso.h	17 Dec 2003 18:34:14 -0000	1.2
+++ ldso.h	6 Jan 2004 01:05:12 -0000	1.3
@@ -11,3 +11,7 @@
 #include <ld_string.h>
 /* Pull in the arch specific page size */
 #include <asm/page.h>
+#ifndef PAGE_SIZE
+#  define PAGE_SHIFT		12
+#  define PAGE_SIZE		(1UL << PAGE_SHIFT)
+#endif




More information about the uClibc-cvs mailing list