From 64c5a652fb76e999eea27aed777d710d747ed949 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 13 Aug 2004 23:39:45 +0000 Subject: Fixup PAGE_SIZE problems -Erik --- ldso/include/ldso.h | 6 +----- ldso/ldso/frv/dl-syscalls.h | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'ldso') 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 #include /* Pull in the arch specific page size */ -#include -#ifndef PAGE_SIZE -# define PAGE_SHIFT 12 -# define PAGE_SIZE (1UL << PAGE_SHIFT) -#endif +#include /* Now the ldso specific headers */ #include #include 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 /* for PAGE_SIZE */ +#include /* 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); -- cgit v1.2.3