From 64c5a652fb76e999eea27aed777d710d747ed949 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 13 Aug 2004 23:39:45 +0000 Subject: Fixup PAGE_SIZE problems -Erik --- libc/sysdeps/linux/mips/sys/user.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/mips/sys') diff --git a/libc/sysdeps/linux/mips/sys/user.h b/libc/sysdeps/linux/mips/sys/user.h index 8b21ff278..8e6b1e1ef 100644 --- a/libc/sysdeps/linux/mips/sys/user.h +++ b/libc/sysdeps/linux/mips/sys/user.h @@ -205,9 +205,7 @@ struct user { #endif -#define PAGE_SHIFT 12 -#define PAGE_SIZE (1UL << PAGE_SHIFT) -#define PAGE_MASK (~(PAGE_SIZE-1)) +#include #define NBPG PAGE_SIZE #define UPAGES 1 #define HOST_TEXT_START_ADDR (u.start_code) -- cgit v1.2.3