mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 04:47:05 +00:00
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>
This commit is contained in:
parent
1808d65b55
commit
b3fa8ed4e4
2 changed files with 0 additions and 5 deletions
|
@ -146,7 +146,6 @@
|
||||||
*
|
*
|
||||||
* Use this if your architecture lacks an efficient flush_tlb_range().
|
* Use this if your architecture lacks an efficient flush_tlb_range().
|
||||||
*/
|
*/
|
||||||
#define HAVE_GENERIC_MMU_GATHER
|
|
||||||
|
|
||||||
#ifdef CONFIG_HAVE_RCU_TABLE_FREE
|
#ifdef CONFIG_HAVE_RCU_TABLE_FREE
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
#include <asm/pgalloc.h>
|
#include <asm/pgalloc.h>
|
||||||
#include <asm/tlb.h>
|
#include <asm/tlb.h>
|
||||||
|
|
||||||
#ifdef HAVE_GENERIC_MMU_GATHER
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_MMU_GATHER_NO_GATHER
|
#ifndef CONFIG_HAVE_MMU_GATHER_NO_GATHER
|
||||||
|
|
||||||
static bool tlb_next_batch(struct mmu_gather *tlb)
|
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);
|
tlb_flush_mmu_free(tlb);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_GENERIC_MMU_GATHER */
|
|
||||||
|
|
||||||
#ifdef CONFIG_HAVE_RCU_TABLE_FREE
|
#ifdef CONFIG_HAVE_RCU_TABLE_FREE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue