summaryrefslogtreecommitdiff
path: root/ldso/ldso/cris/dl-syscalls.h
blob: 74dcc346f6fa2731eda700261d2e2edf3c9f2f26 (plain)
1
2
3
4
5
6
7
8
/* We can't use the real errno in ldso, since it has not yet
 * been dynamicly linked in yet. */
#include "sys/syscall.h"
extern int _dl_errno;
#undef __set_errno
#define __set_errno(X) {(_dl_errno) = (X);}

#define MMAP2_PAGE_SHIFT 13