projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6527b03
)
provide PAGE_SIZE as a constant value of 8192 on or1k
author
Rich Felker
<dalias@aerifal.cx>
Thu, 31 Jul 2014 03:19:43 +0000
(23:19 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 31 Jul 2014 03:19:43 +0000
(23:19 -0400)
according to Stefan Kristiansson, or1k page size is not actually
variable and the value of 8192 is part of the ABI.
arch/or1k/bits/limits.h
patch
|
blob
|
history
diff --git
a/arch/or1k/bits/limits.h
b/arch/or1k/bits/limits.h
index fbc6d238dc89b91dbe94af93ea60e862c67ac154..483b6749b1dbe7760dc7152480cbcd267854c184 100644
(file)
--- a/
arch/or1k/bits/limits.h
+++ b/
arch/or1k/bits/limits.h
@@
-1,5
+1,6
@@
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
+#define PAGE_SIZE 8192
#define LONG_BIT 32
#endif