diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-11-16 19:25:42 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-11-16 19:25:42 (GMT) |
commit | 2df16372710ebd9b2f2d84ae32edae2aebf9f746 (patch) | |
tree | 0b3d038212ff86ce811261b30f8ac26357cb3844 /patches/glibc/ports-2.10.1/410-alpha-no-page-header.patch | |
parent | bd8e670d5e06870cb952fa88b3990e47b7747e7a (diff) | |
parent | 1ebe0b246a554f4029f5be336013cc8c9b7d427e (diff) |
Merge.
Diffstat (limited to 'patches/glibc/ports-2.10.1/410-alpha-no-page-header.patch')
-rw-r--r-- | patches/glibc/ports-2.10.1/410-alpha-no-page-header.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/glibc/ports-2.10.1/410-alpha-no-page-header.patch b/patches/glibc/ports-2.10.1/410-alpha-no-page-header.patch new file mode 100644 index 0000000..f2397e2 --- /dev/null +++ b/patches/glibc/ports-2.10.1/410-alpha-no-page-header.patch @@ -0,0 +1,28 @@ +2008-06-07 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions + from the kernel header to sys/user.h and remove the #include of + sys/user.h. + +diff -durN glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/sys/user.h glibc-2.10.1/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/sys/user.h +--- glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/sys/user.h 2009-05-16 10:36:20.000000000 +0200 ++++ glibc-2.10.1/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/sys/user.h 2009-11-13 00:50:47.000000000 +0100 +@@ -23,7 +23,6 @@ + only. Don't read too much into it. Don't use it for anything other + than gdb/strace unless you know what you are doing. */ + +-#include <asm/page.h> + #include <asm/reg.h> + + struct user +@@ -41,6 +40,9 @@ + char u_comm[32]; /* user command name */ + }; + ++#define PAGE_SHIFT 13 ++#define PAGE_SIZE (1 << PAGE_SHIFT) ++#define PAGE_MASK (~(PAGE_SIZE-1)) + #define NBPG PAGE_SIZE + #define UPAGES 1 + #define HOST_TEXT_START_ADDR (u.start_code) +diff -durN glibc-2.10.1.orig/ports/sysdeps/unix/sysv/linux/alpha/sys/user.h glibc-2.10.1/ports/sysdeps/unix/sysv/linux/alpha/sys/user.h |