summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-03-18 09:34:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-03-19 14:50:57 +0100
commit75a7dc74cf8980480862a29ff056cec312f9aebf (patch)
tree4722f670c86d9192726f7f37d3a074748ff0a992 /libc/sysdeps
parentae11f049fc55c63a79b95ce0de69a1aee0d53faf (diff)
riscv64: page size is 4096, reported by sorear
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/riscv64/bits/uClibc_page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/riscv64/bits/uClibc_page.h b/libc/sysdeps/linux/riscv64/bits/uClibc_page.h
index 4792d370f..7282638ba 100644
--- a/libc/sysdeps/linux/riscv64/bits/uClibc_page.h
+++ b/libc/sysdeps/linux/riscv64/bits/uClibc_page.h
@@ -21,7 +21,7 @@
#define _UCLIBC_PAGE_H
/* PAGE_SHIFT determines the page size -- in this case 4096 */
-#define PAGE_SHIFT 13
+#define PAGE_SHIFT 12
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))