File tree 2 files changed +31
-0
lines changed
2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ config PPC
176
176
select ARCH_WANT_IPC_PARSE_VERSION
177
177
select ARCH_WANT_IRQS_OFF_ACTIVATE_MM
178
178
select ARCH_WANT_LD_ORPHAN_WARN
179
+ select ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH
179
180
select ARCH_WANT_OPTIMIZE_DAX_VMEMMAP if PPC_RADIX_MMU
180
181
select ARCH_WANTS_MODULES_DATA_IN_VMALLOC if PPC_BOOK3S_32 || PPC_8xx
181
182
select ARCH_WEAK_RELEASE_ACQUIRE
Original file line number Diff line number Diff line change
1
+ /* SPDX-License-Identifier: GPL-2.0 */
2
+ #ifndef _ARCH_PPC_TLBBATCH_H
3
+ #define _ARCH_PPC_TLBBATCH_H
4
+
5
+ struct arch_tlbflush_unmap_batch {
6
+ /*
7
+ *
8
+ */
9
+ };
10
+
11
+ static inline void arch_tlbbatch_flush (struct arch_tlbflush_unmap_batch * batch )
12
+ {
13
+ }
14
+
15
+ static inline void arch_tlbbatch_add_pending (struct arch_tlbflush_unmap_batch * batch ,
16
+ struct mm_struct * mm ,
17
+ unsigned long uarddr )
18
+ {
19
+ }
20
+
21
+ static inline bool arch_tlbbatch_should_defer (struct mm_struct * mm )
22
+ {
23
+ /*ppc always do tlb flush in batch*/
24
+ return false;
25
+ }
26
+
27
+ static inline void arch_flush_tlb_batched_pending (struct mm_struct * mm )
28
+ {
29
+ }
30
+ #endif /* _ARCH_PPC_TLBBATCH_H */
You can’t perform that action at this time.
0 commit comments