diff options
author | Peter Zijlstra <peterz@infradead.org> | 2018-08-31 08:46:08 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-04-03 04:32:40 -0400 |
commit | ed6a79352cad00e9a49d6e438be40e45107207bf (patch) | |
tree | a1ed733ba7eacb57d93e6bb825a24b63769a11c9 /arch/um/include | |
parent | dea2434c23c102b3e7d320849ec1cfeb432edb60 (diff) |
asm-generic/tlb, arch: Provide CONFIG_HAVE_MMU_GATHER_PAGE_SIZE
Move the mmu_gather::page_size things into the generic code instead of
PowerPC specific bits.
No change in behavior intended.
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: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
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: Nick Piggin <npiggin@gmail.com>
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>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/asm/tlb.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/um/include/asm/tlb.h b/arch/um/include/asm/tlb.h index dce6db147f24..6463f3ab1767 100644 --- a/arch/um/include/asm/tlb.h +++ b/arch/um/include/asm/tlb.h | |||
@@ -146,9 +146,7 @@ static inline void tlb_remove_page_size(struct mmu_gather *tlb, | |||
146 | #define tlb_remove_huge_tlb_entry(h, tlb, ptep, address) \ | 146 | #define tlb_remove_huge_tlb_entry(h, tlb, ptep, address) \ |
147 | tlb_remove_tlb_entry(tlb, ptep, address) | 147 | tlb_remove_tlb_entry(tlb, ptep, address) |
148 | 148 | ||
149 | #define tlb_remove_check_page_size_change tlb_remove_check_page_size_change | 149 | static inline void tlb_change_page_size(struct mmu_gather *tlb, unsigned int page_size) |
150 | static inline void tlb_remove_check_page_size_change(struct mmu_gather *tlb, | ||
151 | unsigned int page_size) | ||
152 | { | 150 | { |
153 | } | 151 | } |
154 | 152 | ||