diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2013-11-18 10:44:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-19 00:07:35 +0100 |
commit | 6469c842ec57f5062224bb5b86e6d38784b8d6c0 (patch) | |
tree | c2780eedece128d0171c16f6ee7b17c118549b3a /arch/sparc/include | |
parent | Revert "init/Kconfig: add option to disable kernel compression" (diff) | |
download | linux-6469c842ec57f5062224bb5b86e6d38784b8d6c0.tar.xz linux-6469c842ec57f5062224bb5b86e6d38784b8d6c0.zip |
sparc64: fix build regession
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@linux.intel.com>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r-- | arch/sparc/include/asm/tlbflush_64.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/tlbflush_64.h b/arch/sparc/include/asm/tlbflush_64.h index f0d6a9700f4c..3c3c89f52643 100644 --- a/arch/sparc/include/asm/tlbflush_64.h +++ b/arch/sparc/include/asm/tlbflush_64.h @@ -1,7 +1,6 @@ #ifndef _SPARC64_TLBFLUSH_H #define _SPARC64_TLBFLUSH_H -#include <linux/mm.h> #include <asm/mmu_context.h> /* TSB flush operations. */ |