summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/pgalloc.h
diff options
context:
space:
mode:
authorMichal Simek2010-01-20 15:17:08 +0100
committerMichal Simek2010-03-11 14:16:17 +0100
commit79bf3a137617e6deeac411c39f1660b7e91d6348 (patch)
treed4f7789d79e17af51774264c9e65b26875144f84 /arch/microblaze/include/asm/pgalloc.h
parentmicroblaze: Fix dma alloc and free coherent dma functions (diff)
downloadkernel-qcow2-linux-79bf3a137617e6deeac411c39f1660b7e91d6348.tar.gz
kernel-qcow2-linux-79bf3a137617e6deeac411c39f1660b7e91d6348.tar.xz
kernel-qcow2-linux-79bf3a137617e6deeac411c39f1660b7e91d6348.zip
microblaze: PCI early support for noMMU system
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/pgalloc.h')
-rw-r--r--arch/microblaze/include/asm/pgalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/pgalloc.h b/arch/microblaze/include/asm/pgalloc.h
index 7547f5064560..f44b0d696fe2 100644
--- a/arch/microblaze/include/asm/pgalloc.h
+++ b/arch/microblaze/include/asm/pgalloc.h
@@ -19,6 +19,7 @@
#include <asm/io.h>
#include <asm/page.h>
#include <asm/cache.h>
+#include <asm/pgtable.h>
#define PGDIR_ORDER 0
@@ -111,7 +112,6 @@ static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm,
unsigned long address)
{
pte_t *pte;
- extern int mem_init_done;
extern void *early_get_page(void);
if (mem_init_done) {
pte = (pte_t *)__get_free_page(GFP_KERNEL |