diff options
Diffstat (limited to 'klibc/klibc/getpagesize.c')
-rw-r--r-- | klibc/klibc/getpagesize.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/klibc/klibc/getpagesize.c b/klibc/klibc/getpagesize.c deleted file mode 100644 index 2d975b1586..0000000000 --- a/klibc/klibc/getpagesize.c +++ /dev/null @@ -1,26 +0,0 @@ -/* - * getpagesize.c - */ - -#include <sys/syscall.h> -#include <asm/page.h> - -/* Presumably there is a better way to do this... */ -#ifdef __ia64__ -# define __NR_getpagesize 1171 -#endif - -#ifdef __NR_getpagesize - -_syscall0(int,getpagesize); - -#else - -int getpagesize(void) -{ - return PAGE_SIZE; -} - -#endif - - |