Move PAGE_MASK into <sys/user.h>.

I'm removing the TODO on the assumption that being compatible with glibc
is more useful than BSD. The new internal "bionic_page.h" header factors
out some duplication between libc and the linker.

Bug: http://b/22735893
Change-Id: I4aec4dcba5886fb6f6b9290a8f85660643261321
This commit is contained in:
Elliott Hughes
2015-07-28 14:58:37 -07:00
parent 1923d4c03a
commit afab3ffcce
5 changed files with 40 additions and 22 deletions

View File

@@ -35,6 +35,9 @@
__BEGIN_DECLS
#define PAGE_SIZE 4096
#define PAGE_MASK (~(PAGE_SIZE - 1))
#if __i386__
struct user_fpregs_struct {