summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/microblaze/bits/uClibc_page.h
diff options
context:
space:
mode:
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