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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/asm-arm/page.h b/include/asm-arm/page.h
index a404d2bf0c68..63d12f0244c5 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__ */