summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-08-13 23:39:45 +0000
committerEric Andersen <andersen@codepoet.org>2004-08-13 23:39:45 +0000
commit64c5a652fb76e999eea27aed777d710d747ed949 (patch)
tree99f55f2b3ed8fd1b6d0fda2523d5a6ee7063b05a /ldso
parent9f47eaf3223c17a99cc88aea3287697e2635681f (diff)
Fixup PAGE_SIZE problems
-Erik
Diffstat (limited to 'ldso')
-rw-r--r--ldso/include/ldso.h6
-rw-r--r--ldso/ldso/frv/dl-syscalls.h2
2 files changed, 2 insertions, 6 deletions
diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h
index 6bb87c264..494b57521 100644
--- a/ldso/include/ldso.h
+++ b/ldso/include/ldso.h
@@ -26,11 +26,7 @@
#include <dl-syscall.h>
#include <dl-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
+#include <bits/uClibc_page.h>
/* Now the ldso specific headers */
#include <dl-elf.h>
#include <dl-hash.h>
diff --git a/ldso/ldso/frv/dl-syscalls.h b/ldso/ldso/frv/dl-syscalls.h
index 3cfe2d7b1..4ee1992a5 100644
--- a/ldso/ldso/frv/dl-syscalls.h
+++ b/ldso/ldso/frv/dl-syscalls.h
@@ -42,7 +42,7 @@ static inline _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr,
# define MMAP2_PAGE_SHIFT 12
# endif
-#include <asm/page.h> /* for PAGE_SIZE */
+#include <bits/uClibc_page.h> /* for PAGE_SIZE */
inline static void *_dl_memset(void*,int,size_t);
inline static ssize_t _dl_pread(int fd, void *buf, size_t count, off_t offset);