aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/tlb.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2018-09-03 15:07:36 +0100
committerWill Deacon <will.deacon@arm.com>2018-09-07 15:19:25 +0100
commit196d9d8bb71deaa2d1c7170c88a2f1a318363047 (patch)
tree3ddc2d1922c9eab4591f1830989798be531a57d7 /include/asm-generic/tlb.h
parentasm-generic/tlb: Track which levels of the page tables have been cleared (diff)
downloadlinux-dev-196d9d8bb71deaa2d1c7170c88a2f1a318363047.tar.xz
linux-dev-196d9d8bb71deaa2d1c7170c88a2f1a318363047.zip
mm/memory: Move mmu_gather and TLB invalidation code into its own file
In preparation for maintaining the mmu_gather code as its own entity, move the implementation out of memory.c and into its own file. Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Michal Hocko <mhocko@suse.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to '')
-rw-r--r--include/asm-generic/tlb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h
index 9791e98122a0..6be86c1c5c58 100644
--- a/include/asm-generic/tlb.h
+++ b/include/asm-generic/tlb.h
@@ -138,6 +138,7 @@ void arch_tlb_gather_mmu(struct mmu_gather *tlb,
void tlb_flush_mmu(struct mmu_gather *tlb);
void arch_tlb_finish_mmu(struct mmu_gather *tlb,
unsigned long start, unsigned long end, bool force);
+void tlb_flush_mmu_free(struct mmu_gather *tlb);
extern bool __tlb_remove_page_size(struct mmu_gather *tlb, struct page *page,
int page_size);