summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/pgalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/pgalloc.h')
-rw-r--r--include/asm-generic/pgalloc.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-generic/pgalloc.h b/include/asm-generic/pgalloc.h
index 8476175c07e7..6f8cc06ee44e 100644
--- a/include/asm-generic/pgalloc.h
+++ b/include/asm-generic/pgalloc.h
@@ -102,11 +102,6 @@ static inline void pte_free(struct mm_struct *mm, struct page *pte_page)
102 __free_page(pte_page); 102 __free_page(pte_page);
103} 103}
104 104
105#else /* CONFIG_MMU */
106
107/* This is enough for a nommu architecture */
108#define check_pgt_cache() do { } while (0)
109
110#endif /* CONFIG_MMU */ 105#endif /* CONFIG_MMU */
111 106
112#endif /* __ASM_GENERIC_PGALLOC_H */ 107#endif /* __ASM_GENERIC_PGALLOC_H */