diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-01-06 01:05:12 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-01-06 01:05:12 +0000 |
commit | c761b902cd407ee355a9ef4b36629f8cca36be87 (patch) | |
tree | 6efe3a1c7c6bab4fbf5d0c9d6913706df205be26 /ldso/include | |
parent | fa4145fac1ad8023dd9af88f73d4ad68d8b8d933 (diff) |
Some badly behaved arches fail to provide a PAGE_SIZE define
Diffstat (limited to 'ldso/include')
-rw-r--r-- | ldso/include/ldso.h | 4 |
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 |