diff options
author | Peter Zijlstra <peterz@infradead.org> | 2018-09-03 17:07:36 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-09-07 17:19:25 +0300 |
commit | 196d9d8bb71deaa2d1c7170c88a2f1a318363047 (patch) | |
tree | 3ddc2d1922c9eab4591f1830989798be531a57d7 /include/asm-generic | |
parent | a6d60245d6d9b1caf66b0d94419988c4836980af (diff) | |
download | linux-196d9d8bb71deaa2d1c7170c88a2f1a318363047.tar.xz |
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 'include/asm-generic')
-rw-r--r-- | include/asm-generic/tlb.h | 1 |
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); |