mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
alpha: Don't include asm/page.h in sys/user.h.
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
c735022ded
commit
6546e0c499
@ -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,
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user