summaryrefslogtreecommitdiff
path: root/arch/x86_64/bits/user.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-03-10 17:49:23 -0500
committerRich Felker <dalias@aerifal.cx>2018-03-10 17:49:23 -0500
commit6ecb9c14c429cc73ace937fd7459f58f0b7a8e6e (patch)
tree3165153c305e5d8aa629b7d13f0701c57a1303ab /arch/x86_64/bits/user.h
parentc9c2cd3e6955cb1d57b8be01d4b072bf44058762 (diff)
downloadmusl-6ecb9c14c429cc73ace937fd7459f58f0b7a8e6e.tar.gz
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.h4
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)