diff options
Diffstat (limited to 'arch/arm/mm/mm.h')
| -rw-r--r-- | arch/arm/mm/mm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mm/mm.h b/arch/arm/mm/mm.h index bb2bc9ab6bd3..a44e30970635 100644 --- a/arch/arm/mm/mm.h +++ b/arch/arm/mm/mm.h | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | /* the upper-most page table pointer */ | 1 | /* the upper-most page table pointer */ |
| 2 | |||
| 3 | #ifdef CONFIG_MMU | ||
| 4 | |||
| 2 | extern pmd_t *top_pmd; | 5 | extern pmd_t *top_pmd; |
| 3 | 6 | ||
| 4 | #define TOP_PTE(x) pte_offset_kernel(top_pmd, x) | 7 | #define TOP_PTE(x) pte_offset_kernel(top_pmd, x) |
| @@ -13,6 +16,8 @@ static inline pmd_t *pmd_off_k(unsigned long virt) | |||
| 13 | return pmd_off(pgd_offset_k(virt), virt); | 16 | return pmd_off(pgd_offset_k(virt), virt); |
| 14 | } | 17 | } |
| 15 | 18 | ||
| 19 | #endif | ||
| 20 | |||
| 16 | struct map_desc; | 21 | struct map_desc; |
| 17 | struct meminfo; | 22 | struct meminfo; |
| 18 | struct pglist_data; | 23 | struct pglist_data; |
