about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-07-30 23:19:43 -0400
committerRich Felker <dalias@aerifal.cx>2014-07-30 23:19:43 -0400
commitcc54f0aebad529c1abfa49d2d9e319267d57cb9f (patch)
tree5ef096b7e50d7f24f7011012601736b33e9f0880 /arch
parent6527b03dcc029cf9edb7bf7dbaeab420092e04c9 (diff)
downloadmusl-cc54f0aebad529c1abfa49d2d9e319267d57cb9f.tar.gz
musl-cc54f0aebad529c1abfa49d2d9e319267d57cb9f.tar.xz
musl-cc54f0aebad529c1abfa49d2d9e319267d57cb9f.zip
provide PAGE_SIZE as a constant value of 8192 on or1k
according to Stefan Kristiansson, or1k page size is not actually
variable and the value of 8192 is part of the ABI.
Diffstat (limited to 'arch')
-rw-r--r--arch/or1k/bits/limits.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/or1k/bits/limits.h b/arch/or1k/bits/limits.h
index fbc6d238..483b6749 100644
--- 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