lkml.org 
[lkml]   [2019]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH v6 16/18] asm-generic/tlb: Remove HAVE_GENERIC_MMU_GATHER
Since all architectures are now using it, it is redundant.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
---
include/asm-generic/tlb.h | 1 -
mm/mmu_gather.c | 4 ----
2 files changed, 5 deletions(-)

--- a/include/asm-generic/tlb.h
+++ b/include/asm-generic/tlb.h
@@ -142,7 +142,6 @@
*
* Use this if your architecture lacks an efficient flush_tlb_range().
*/
-#define HAVE_GENERIC_MMU_GATHER

#ifdef CONFIG_HAVE_RCU_TABLE_FREE
/*
--- 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 *tl
tlb_flush_mmu_free(tlb);
}

-#endif /* HAVE_GENERIC_MMU_GATHER */
-
#ifdef CONFIG_HAVE_RCU_TABLE_FREE

/*

\
 
 \ /
  Last update: 2019-02-19 11:34    [W:0.114 / U:3.212 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site