1.1 --- a/patches/glibc/2.3.6/260-alpha-asm_page.patch Mon Jul 28 21:08:01 2008 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,26 +0,0 @@
1.4 -2008-06-07 Mike Frysinger <vapier@gentoo.org>
1.5 -
1.6 - * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
1.7 - from the kernel header to sys/user.h and remove the #include of
1.8 - sys/user.h.
1.9 -
1.10 ---- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
1.11 -+++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
1.12 -@@ -23,7 +23,6 @@
1.13 - only. Don't read too much into it. Don't use it for anything other
1.14 - than gdb/strace unless you know what you are doing. */
1.15 -
1.16 --#include <asm/page.h>
1.17 - #include <asm/reg.h>
1.18 -
1.19 - struct user
1.20 -@@ -41,6 +40,9 @@ struct user
1.21 - char u_comm[32]; /* user command name */
1.22 - };
1.23 -
1.24 -+#define PAGE_SHIFT 13
1.25 -+#define PAGE_SIZE (1 << PAGE_SHIFT)
1.26 -+#define PAGE_MASK (~(PAGE_SIZE-1))
1.27 - #define NBPG PAGE_SIZE
1.28 - #define UPAGES 1
1.29 - #define HOST_TEXT_START_ADDR (u.start_code)