summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/microblaze/bits
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-07 13:15:59 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-10 10:20:55 -0500
commitf6b1ea78c0bb708cd719a00de469769a1be023db (patch)
treedb95cab27eb3ff90faf0acc1083c8e18aef5f535 /libc/sysdeps/linux/microblaze/bits
parentc5a409f98681db04f745cdf242c6166ecb13b9bd (diff)
just use 4k pages for microblaze, the config are missing and never committed into uClibc
Diffstat (limited to 'libc/sysdeps/linux/microblaze/bits')
-rw-r--r--libc/sysdeps/linux/microblaze/bits/uClibc_page.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/libc/sysdeps/linux/microblaze/bits/uClibc_page.h b/libc/sysdeps/linux/microblaze/bits/uClibc_page.h
index 9335d8eb7..580ca1368 100644
--- a/libc/sysdeps/linux/microblaze/bits/uClibc_page.h
+++ b/libc/sysdeps/linux/microblaze/bits/uClibc_page.h
@@ -20,23 +20,7 @@
#ifndef _UCLIBC_PAGE_H
#define _UCLIBC_PAGE_H
-#include <generated/autoconf.h>
-
-#if defined(CONFIG_MICROBLAZE_32K_PAGES)
-#define PAGE_SHIFT 15
-#elif defined(CONFIG_MICROBLAZE_16K_PAGES)
-#define PAGE_SHIFT 14
-#elif defined(CONFIG_MICROBLAZE_8K_PAGES)
-#define PAGE_SHIFT 13
-#elif defined(CONFIG_MICROBLAZE_4K_PAGES)
-#define PAGE_SHIFT 12
-#else
-#if !defined(CONFIG_MMU)
-#warning Missing CONFIG_MICROBLAZE_nnK_PAGES, assuming 4K
-#endif
-#define PAGE_SHIFT 12
-#endif
-
+#define PAGE_SHIFT 12
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))