On Fri, 16 Nov 2012, Kirill A. Shutemov wrote: > From: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> > > update_mmu_cache_pmd() takes pointer to pmd_t as third, not pmd_t. > > mm/huge_memory.c: In function 'do_huge_pmd_numa_page': > mm/huge_memory.c:825:2: error: incompatible type for argument 3 of 'update_mmu_cache_pmd' > In file included from include/linux/mm.h:44:0, > from mm/huge_memory.c:8: > arch/mips/include/asm/pgtable.h:385:20: note: expected 'struct pmd_t *' but argument is of type 'pmd_t' > mm/huge_memory.c:895:2: error: incompatible type for argument 3 of 'update_mmu_cache_pmd' > In file included from include/linux/mm.h:44:0, > from mm/huge_memory.c:8: > arch/mips/include/asm/pgtable.h:385:20: note: expected 'struct pmd_t *' but argument is of type 'pmd_t' > > Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> [routing to Ingo for numa/core, which this is based on] Acked-by: David Rientjes <rientjes@xxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>