summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/sys/user.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-08-13 23:39:45 +0000
committerEric Andersen <andersen@codepoet.org>2004-08-13 23:39:45 +0000
commit64c5a652fb76e999eea27aed777d710d747ed949 (patch)
tree99f55f2b3ed8fd1b6d0fda2523d5a6ee7063b05a /libc/sysdeps/linux/i386/sys/user.h
parent9f47eaf3223c17a99cc88aea3287697e2635681f (diff)
Fixup PAGE_SIZE problems
-Erik
Diffstat (limited to 'libc/sysdeps/linux/i386/sys/user.h')
-rw-r--r--libc/sysdeps/linux/i386/sys/user.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/i386/sys/user.h b/libc/sysdeps/linux/i386/sys/user.h
index aca46e7d3..c5cfff256 100644
--- a/libc/sysdeps/linux/i386/sys/user.h
+++ b/libc/sysdeps/linux/i386/sys/user.h
@@ -92,9 +92,7 @@ struct user
int u_debugreg [8];
};
-#define PAGE_SHIFT 12
-#define PAGE_SIZE (1UL << PAGE_SHIFT)
-#define PAGE_MASK (~(PAGE_SIZE-1))
+#include <bits/uClibc_page.h>
#define NBPG PAGE_SIZE
#define UPAGES 1
#define HOST_TEXT_START_ADDR (u.start_code)