summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa/bits/uClibc_page.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/xtensa/bits/uClibc_page.h')
-rw-r--r--libc/sysdeps/linux/xtensa/bits/uClibc_page.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/xtensa/bits/uClibc_page.h b/libc/sysdeps/linux/xtensa/bits/uClibc_page.h
index 74a9f60ba..134094536 100644
--- a/libc/sysdeps/linux/xtensa/bits/uClibc_page.h
+++ b/libc/sysdeps/linux/xtensa/bits/uClibc_page.h
@@ -21,10 +21,8 @@
#ifndef _UCLIBC_PAGE_H
#define _UCLIBC_PAGE_H
-#include <bits/xtensa-config.h>
-
/* PAGE_SHIFT determines the page size -- in this case 4096 */
-#define PAGE_SHIFT XCHAL_MMU_MIN_PTE_PAGE_SIZE
+#define PAGE_SHIFT 12
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))