summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/include/ldso.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h
index a7e885a06..81ae78d2b 100644
--- a/ldso/include/ldso.h
+++ b/ldso/include/ldso.h
@@ -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