summaryrefslogtreecommitdiff
path: root/arch/i386
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/i386
parentc9c2cd3e6955cb1d57b8be01d4b072bf44058762 (diff)
downloadmusl-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/i386')
-rw-r--r--arch/i386/bits/user.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/bits/user.h b/arch/i386/bits/user.h
index 0e343930..33fea986 100644
--- a/arch/i386/bits/user.h
+++ b/arch/i386/bits/user.h
@@ -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)