aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/mmu_gather.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2018-09-20 10:51:01 +0200
committerIngo Molnar <mingo@kernel.org>2019-04-03 10:32:59 +0200
commitb3fa8ed4e48802e6ba0aa5f3283313a27dcbf46f (patch)
tree45eee4345cfd6bbb2d807c69d647dd4147050aec /mm/mmu_gather.c
parentasm-generic/tlb: Remove arch_tlb*_mmu() (diff)
downloadwireguard-linux-b3fa8ed4e48802e6ba0aa5f3283313a27dcbf46f.tar.xz
wireguard-linux-b3fa8ed4e48802e6ba0aa5f3283313a27dcbf46f.zip
asm-generic/tlb: Remove CONFIG_HAVE_GENERIC_MMU_GATHER
Since all architectures are now using it, it is redundant. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Will Deacon <will.deacon@arm.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rik van Riel <riel@surriel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm/mmu_gather.c')
-rw-r--r--mm/mmu_gather.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/mmu_gather.c b/mm/mmu_gather.c
index 60ef38d200c0..7f5b2b8aa9dd 100644
--- a/mm/mmu_gather.c
+++ b/mm/mmu_gather.c
@@ -11,8 +11,6 @@
#include <asm/pgalloc.h>
#include <asm/tlb.h>
-#ifdef HAVE_GENERIC_MMU_GATHER
-
#ifndef CONFIG_HAVE_MMU_GATHER_NO_GATHER
static bool tlb_next_batch(struct mmu_gather *tlb)
@@ -109,8 +107,6 @@ void tlb_flush_mmu(struct mmu_gather *tlb)
tlb_flush_mmu_free(tlb);
}
-#endif /* HAVE_GENERIC_MMU_GATHER */
-
#ifdef CONFIG_HAVE_RCU_TABLE_FREE
/*