patches/glibc/2_9/450-alpha-glibc-2.5-no-page-header.patch
branchnewlib
changeset 1365 c4d124ed9f8e
parent 1364 9227d2a2c080
child 1366 5e5d1e6f55d3
     1.1 --- a/patches/glibc/2_9/450-alpha-glibc-2.5-no-page-header.patch	Sat Apr 11 19:03:02 2009 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,32 +0,0 @@
     1.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/6015_all_alpha-glibc-2.5-no-page-header.patch
     1.5 -
     1.6 --= BEGIN original header =-
     1.7 -2008-06-07  Mike Frysinger  <vapier@gentoo.org>
     1.8 -
     1.9 -	* sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
    1.10 -	from the kernel header to sys/user.h and remove the #include of
    1.11 -	sys/user.h.
    1.12 -
    1.13 --= END original header =-
    1.14 -
    1.15 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/user.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/user.h
    1.16 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/user.h	2001-07-06 06:56:13.000000000 +0200
    1.17 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/user.h	2009-02-02 22:01:32.000000000 +0100
    1.18 -@@ -23,7 +23,6 @@
    1.19 -    only. Don't read too much into it. Don't use it for anything other
    1.20 -    than gdb/strace unless you know what you are doing. */
    1.21 - 
    1.22 --#include <asm/page.h>
    1.23 - #include <asm/reg.h>
    1.24 - 
    1.25 - struct user
    1.26 -@@ -41,6 +40,9 @@
    1.27 -   char u_comm[32];				/* user command name */
    1.28 - };
    1.29 - 
    1.30 -+#define PAGE_SHIFT		13
    1.31 -+#define PAGE_SIZE		(1 << PAGE_SHIFT)
    1.32 -+#define PAGE_MASK		(~(PAGE_SIZE-1))
    1.33 - #define NBPG			PAGE_SIZE
    1.34 - #define UPAGES			1
    1.35 - #define HOST_TEXT_START_ADDR	(u.start_code)