aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/page.h')
-rw-r--r--include/asm-arm/page.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/asm-arm/page.h b/include/asm-arm/page.h
index a404d2bf0c6..b721270b998 100644
--- a/include/asm-arm/page.h
+++ b/include/asm-arm/page.h
@@ -10,7 +10,6 @@
10#ifndef _ASMARM_PAGE_H 10#ifndef _ASMARM_PAGE_H
11#define _ASMARM_PAGE_H 11#define _ASMARM_PAGE_H
12 12
13#include <linux/config.h>
14 13
15/* PAGE_SHIFT determines the page size */ 14/* PAGE_SHIFT determines the page size */
16#define PAGE_SHIFT 12 15#define PAGE_SHIFT 12
@@ -24,6 +23,12 @@
24 23
25#ifndef __ASSEMBLY__ 24#ifndef __ASSEMBLY__
26 25
26#ifndef CONFIG_MMU
27
28#include "page-nommu.h"
29
30#else
31
27#include <asm/glue.h> 32#include <asm/glue.h>
28 33
29/* 34/*
@@ -172,6 +177,8 @@ typedef unsigned long pgprot_t;
172/* the upper-most page table pointer */ 177/* the upper-most page table pointer */
173extern pmd_t *top_pmd; 178extern pmd_t *top_pmd;
174 179
180#endif /* CONFIG_MMU */
181
175#include <asm/memory.h> 182#include <asm/memory.h>
176 183
177#endif /* !__ASSEMBLY__ */ 184#endif /* !__ASSEMBLY__ */
@@ -186,8 +193,8 @@ extern pmd_t *top_pmd;
186#define ARCH_SLAB_MINALIGN 8 193#define ARCH_SLAB_MINALIGN 8
187#endif 194#endif
188 195
189#endif /* __KERNEL__ */
190
191#include <asm-generic/page.h> 196#include <asm-generic/page.h>
192 197
198#endif /* __KERNEL__ */
199
193#endif 200#endif