浏览代码

microblaze: Fix missing pagemap.h

Add missing linux/pagemap.h to solve compilation error.

Error log:
In file included from linux/arch/microblaze/include/asm/tlb.h:17,
                 from mm/pgtable-generic.c:9:
include/asm-generic/tlb.h: In function 'tlb_flush_mmu':
include/asm-generic/tlb.h:76: error: implicit declaration of function 'release_pages'
include/asm-generic/tlb.h: In function 'tlb_remove_page':
include/asm-generic/tlb.h:105: error: implicit declaration of function 'page_cache_release'

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek 14 年之前
父节点
当前提交
1947fc1d51
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/microblaze/include/asm/tlb.h

+ 1 - 0
arch/microblaze/include/asm/tlb.h

@@ -13,6 +13,7 @@
 
 
 #define tlb_flush(tlb)	flush_tlb_mm((tlb)->mm)
 #define tlb_flush(tlb)	flush_tlb_mm((tlb)->mm)
 
 
+#include <linux/pagemap.h>
 #include <asm-generic/tlb.h>
 #include <asm-generic/tlb.h>
 
 
 #ifdef CONFIG_MMU
 #ifdef CONFIG_MMU