OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa4145f
)
Some badly behaved arches fail to provide a PAGE_SIZE define
author
Eric Andersen
<andersen@codepoet.org>
Tue, 6 Jan 2004 01:05:12 +0000
(
01:05
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 6 Jan 2004 01:05:12 +0000
(
01:05
-0000)
ldso/include/ldso.h
patch
|
blob
|
history
diff --git
a/ldso/include/ldso.h
b/ldso/include/ldso.h
index
a7e885a
..
81ae78d
100644
(file)
--- 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