Re: [PATCH] sparc64: fix build regession

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx>
Date: Mon, 18 Nov 2013 11:44:09 +0200

> Commit ea1e7ed33708 triggers build regression on sparc64.
> 
> include/linux/mm.h:1391:2: error: implicit declaration of function 'pgtable_cache_init' [-Werror=implicit-function-declaration]
> arch/sparc/include/asm/pgtable_64.h:978:13: error: conflicting types for 'pgtable_cache_init' [-Werror]
> 
> It happens due headers include loop:
> 
> <linux/mm.h> -> <asm/pgtable.h> -> <asm/pgtable_64.h> ->
> 	<asm/tlbflush.h> -> <asm/tlbflush_64.h> -> <linux/mm.h>
> 
> Let's drop <linux/mm.h> include from asm/tlbflush_64.h.
> Build tested with allmodconfig.
> 
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Applied, please post sparc patches to sparclinux@xxxxxxxxxxxxxxx in the
future so that I can properly track them.

Thanks.

--
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>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]