From f6b1ea78c0bb708cd719a00de469769a1be023db Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 7 Jun 2015 13:15:59 -0500 Subject: just use 4k pages for microblaze, the config are missing and never committed into uClibc --- libc/sysdeps/linux/microblaze/bits/uClibc_page.h | 18 +----------------- 1 file changed, 1 insertion(+), 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 - -#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)) -- cgit v1.2.3