projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ARM] 3762/1: Fix ptrace cache coherency bug for ARM1136 VIPT nonaliasing Harvard...
[powerpc.git]
/
include
/
asm-arm
/
pgtable.h
diff --git
a/include/asm-arm/pgtable.h
b/include/asm-arm/pgtable.h
index
e85c08d
..
8d3919c
100644
(file)
--- a/
include/asm-arm/pgtable.h
+++ b/
include/asm-arm/pgtable.h
@@
-11,9
+11,15
@@
#define _ASMARM_PGTABLE_H
#include <asm-generic/4level-fixup.h>
#define _ASMARM_PGTABLE_H
#include <asm-generic/4level-fixup.h>
+#include <asm/proc-fns.h>
+
+#ifndef CONFIG_MMU
+
+#include "pgtable-nommu.h"
+
+#else
#include <asm/memory.h>
#include <asm/memory.h>
-#include <asm/proc-fns.h>
#include <asm/arch/vmalloc.h>
/*
#include <asm/arch/vmalloc.h>
/*
@@
-378,4
+384,6
@@
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
#endif /* !__ASSEMBLY__ */
#endif /* !__ASSEMBLY__ */
+#endif /* CONFIG_MMU */
+
#endif /* _ASMARM_PGTABLE_H */
#endif /* _ASMARM_PGTABLE_H */