OSDN Git Service

Some badly behaved arches fail to provide a PAGE_SIZE define
authorEric Andersen <andersen@codepoet.org>
Tue, 6 Jan 2004 01:05:12 +0000 (01:05 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 6 Jan 2004 01:05:12 +0000 (01:05 -0000)
ldso/include/ldso.h

index a7e885a..81ae78d 100644 (file)
@@ -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