[git commit future 1/1] xtensa-config.h: remove XCHAL_MMU_MIN_PTE_PAGE_SIZE used only in uClibc_page.h
Khem Raj
raj.khem at gmail.com
Sat Mar 19 18:51:25 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=dcbe089b6642168c354ed259bf98c444d5acfb25
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
libc/sysdeps/linux/xtensa/bits/uClibc_page.h | 4 +---
libc/sysdeps/linux/xtensa/bits/xtensa-config.h | 6 ------
2 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/libc/sysdeps/linux/xtensa/bits/uClibc_page.h b/libc/sysdeps/linux/xtensa/bits/uClibc_page.h
index 74a9f60..1340945 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))
diff --git a/libc/sysdeps/linux/xtensa/bits/xtensa-config.h b/libc/sysdeps/linux/xtensa/bits/xtensa-config.h
index 34cf28c..8632a02 100644
--- a/libc/sysdeps/linux/xtensa/bits/xtensa-config.h
+++ b/libc/sysdeps/linux/xtensa/bits/xtensa-config.h
@@ -44,10 +44,4 @@
#undef XCHAL_NUM_AREGS
#define XCHAL_NUM_AREGS 64
-/* Set a default page size. This is currently needed when bootstrapping
- the runtime linker. See comments in dl-machine.h where this is used. */
-
-#undef XCHAL_MMU_MIN_PTE_PAGE_SIZE
-#define XCHAL_MMU_MIN_PTE_PAGE_SIZE 12
-
#endif /* !XTENSA_CONFIG_H */
--
1.7.3.4
More information about the uClibc-cvs
mailing list