use PAGESIZE rather than PAGE_SIZE in user.h bits
authorRich Felker <dalias@aerifal.cx>
Sat, 10 Mar 2018 22:49:23 +0000 (17:49 -0500)
committerRich Felker <dalias@aerifal.cx>
Sat, 10 Mar 2018 22:49:23 +0000 (17:49 -0500)
align with commit c9c2cd3e6955cb1d57b8be01d4b072bf44058762.

arch/i386/bits/user.h
arch/s390x/bits/user.h
arch/x32/bits/user.h
arch/x86_64/bits/user.h

index 0e3439305e5c5afe0e78215ec3c6eabecf01bd25..33fea9861654ccc5795c099f60730fa31f21a1c5 100644 (file)
@@ -37,8 +37,8 @@ struct user {
        int                             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)
index 17bce16f4cf112b242244d1e86978cfcf687aede..ff3f048380a4cac9f40ddce5acedaea19111f5a1 100644 (file)
@@ -54,8 +54,8 @@ struct user {
        char u_comm[32];
 };
 
-#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)
index 471bb19db33e2ff6bb9e991f8b240ea05dab6776..4073cc06ffbb638993021e129e48ef9aa4799729 100644 (file)
@@ -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)
index 471bb19db33e2ff6bb9e991f8b240ea05dab6776..4073cc06ffbb638993021e129e48ef9aa4799729 100644 (file)
@@ -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)