summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/microblaze/bits/uClibc_page.h
diff options
context:
space:
mode:
authorRyan Flux <ryan.flux@emsolutions.com.au>2011-10-04 10:50:49 +1000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-10-06 22:22:25 +0200
commit331b43717229eaad2a95bf420f5100079bd53683 (patch)
tree784606042014321101c611ef4650b1b6aacff76a /libc/sysdeps/linux/microblaze/bits/uClibc_page.h
parentcc5499a6a678e4caf1b06f33192de84d5ab88fd5 (diff)
microblaze mmu/elf/shared lib support
microblaze can either be with mmu or without If with, use elf rather than flat, and support shared libs Signed-off-by: Ryan Flux <ryan.flux@emsolutions.com.au> Signed-off-by: Steve Bennett <steveb@workware.net.au> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/microblaze/bits/uClibc_page.h')
-rw-r--r--libc/sysdeps/linux/microblaze/bits/uClibc_page.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/microblaze/bits/uClibc_page.h b/libc/sysdeps/linux/microblaze/bits/uClibc_page.h
index 8fc81ae32..41b042262 100644
--- a/libc/sysdeps/linux/microblaze/bits/uClibc_page.h
+++ b/libc/sysdeps/linux/microblaze/bits/uClibc_page.h
@@ -31,7 +31,9 @@
#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