diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-03-10 17:49:23 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-03-10 17:49:23 -0500 |
commit | 6ecb9c14c429cc73ace937fd7459f58f0b7a8e6e (patch) | |
tree | 3165153c305e5d8aa629b7d13f0701c57a1303ab /arch/x86_64/bits/user.h | |
parent | c9c2cd3e6955cb1d57b8be01d4b072bf44058762 (diff) | |
download | musl-6ecb9c14c429cc73ace937fd7459f58f0b7a8e6e.tar.gz musl-6ecb9c14c429cc73ace937fd7459f58f0b7a8e6e.tar.bz2 musl-6ecb9c14c429cc73ace937fd7459f58f0b7a8e6e.tar.xz musl-6ecb9c14c429cc73ace937fd7459f58f0b7a8e6e.zip |
use PAGESIZE rather than PAGE_SIZE in user.h bits
align with commit c9c2cd3e6955cb1d57b8be01d4b072bf44058762.
Diffstat (limited to 'arch/x86_64/bits/user.h')
-rw-r--r-- | arch/x86_64/bits/user.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/bits/user.h b/arch/x86_64/bits/user.h index 471bb19d..4073cc06 100644 --- a/arch/x86_64/bits/user.h +++ b/arch/x86_64/bits/user.h @@ -34,8 +34,8 @@ struct user { unsigned long u_debugreg[8]; }; -#define PAGE_MASK (~(PAGE_SIZE-1)) -#define NBPG PAGE_SIZE +#define PAGE_MASK (~(PAGESIZE-1)) +#define NBPG PAGESIZE #define UPAGES 1 #define HOST_TEXT_START_ADDR (u.start_code) #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |