aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/pgtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/include/asm/pgtable.h')
-rw-r--r--arch/xtensa/include/asm/pgtable.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/xtensa/include/asm/pgtable.h b/arch/xtensa/include/asm/pgtable.h
index 0fdf5d043f82..216446295ada 100644
--- a/arch/xtensa/include/asm/pgtable.h
+++ b/arch/xtensa/include/asm/pgtable.h
@@ -220,12 +220,11 @@ extern unsigned long empty_zero_page[1024];
220#ifdef CONFIG_MMU 220#ifdef CONFIG_MMU
221extern pgd_t swapper_pg_dir[PAGE_SIZE/sizeof(pgd_t)]; 221extern pgd_t swapper_pg_dir[PAGE_SIZE/sizeof(pgd_t)];
222extern void paging_init(void); 222extern void paging_init(void);
223extern void pgtable_cache_init(void);
224#else 223#else
225# define swapper_pg_dir NULL 224# define swapper_pg_dir NULL
226static inline void paging_init(void) { } 225static inline void paging_init(void) { }
227static inline void pgtable_cache_init(void) { }
228#endif 226#endif
227static inline void pgtable_cache_init(void) { }
229 228
230/* 229/*
231 * The pmd contains the kernel virtual address of the pte page. 230 * The pmd contains the kernel virtual address of the pte page.