From c761b902cd407ee355a9ef4b36629f8cca36be87 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 6 Jan 2004 01:05:12 +0000 Subject: Some badly behaved arches fail to provide a PAGE_SIZE define --- ldso/include/ldso.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ldso') 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 /* Pull in the arch specific page size */ #include +#ifndef PAGE_SIZE +# define PAGE_SHIFT 12 +# define PAGE_SIZE (1UL << PAGE_SHIFT) +#endif -- cgit v1.2.3