]> sourceware.org Git - glibc.git/commitdiff
alpha: Don't include asm/page.h in sys/user.h.
authorRichard Henderson <rth@twiddle.net>
Fri, 26 Mar 2010 17:41:22 +0000 (10:41 -0700)
committerRichard Henderson <rth@twiddle.net>
Fri, 26 Mar 2010 20:17:53 +0000 (13:17 -0700)
Signed-off-by: Richard Henderson <rth@twiddle.net>
ChangeLog.alpha
sysdeps/unix/sysv/linux/alpha/sys/user.h

index 84945a89c6084172a1f488bfcb0b81a264c343dd..739efce24cdcf3c21dbd1056ec7080bd8d662176 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-26  Richard Henderson  <rth@redhat.com>
+
+       * sysdeps/unix/sysv/linux/alpha/sys/user.h: Don't include asm/page.h.
+       (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK): Define.
+
 2010-03-26  Richard Henderson  <rth@redhat.com>
 
        * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN_EX,
index 4cd29d2ff89f40ee00cc6c3b3beb6824092363e6..193085d5c52ea5970e9427fe2d9a8692f54f26b1 100644 (file)
@@ -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 @@ struct user
   char u_comm[32];                             /* user command name */
 };
 
+#define PAGE_SHIFT             13
+#define PAGE_SIZE              (1UL << PAGE_SHIFT)
+#define PAGE_MASK              (~(PAGE_SIZE-1))
 #define NBPG                   PAGE_SIZE
 #define UPAGES                 1
 #define HOST_TEXT_START_ADDR   (u.start_code)
This page took 0.04686 seconds and 5 git commands to generate.