diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h index ed6d3bac8b5c50a5c16cbc02f8fbf746b11bb49b..ef1c077dd07e97856bfb86bf648d94ac001261f8 100644 --- a/include/asm-generic/tlb.h +++ b/include/asm-generic/tlb.h @@ -137,7 +137,6 @@ * architecture uses the Linux page-tables natively. * */ -#define HAVE_GENERIC_MMU_GATHER #ifdef CONFIG_HAVE_RCU_TABLE_FREE /* diff --git a/mm/mmu_gather.c b/mm/mmu_gather.c index 551b74c29d627417a29c9a1b4cdeb847c6fb1b7c..cac2eb492ee93405df733420cb176dac8f4bf246 100644 --- a/mm/mmu_gather.c +++ b/mm/mmu_gather.c @@ -11,8 +11,6 @@ #include #include -#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 /*