summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2006-02-23 15:12:21 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2006-02-23 15:12:21 +0000
commitcbea2418b59c91f955d856448ce6bdf2083c4f9f (patch)
treeec1d9ab609aa4d64bd54493ffd6c48bb21009ec3 /ldso
parent1d94558cb3dc19c819f1a74a47975b8a710366e2 (diff)
Specify a correct MMAP2_PAGE_SHIFT to use when calculating the offset
for mmap2() on CRIS.
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/cris/dl-syscalls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldso/ldso/cris/dl-syscalls.h b/ldso/ldso/cris/dl-syscalls.h
index 996bb87c6..74dcc346f 100644
--- a/ldso/ldso/cris/dl-syscalls.h
+++ b/ldso/ldso/cris/dl-syscalls.h
@@ -4,3 +4,5 @@
extern int _dl_errno;
#undef __set_errno
#define __set_errno(X) {(_dl_errno) = (X);}
+
+#define MMAP2_PAGE_SHIFT 13