hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/s390/include/asm/tlbflush.h
....@@ -5,8 +5,6 @@
55 #include <linux/mm.h>
66 #include <linux/sched.h>
77 #include <asm/processor.h>
8
-#include <asm/pgalloc.h>
9
-#include <asm/pgtable.h>
108
119 /*
1210 * Flush all TLB entries on the local CPU.
....@@ -31,9 +29,6 @@
3129 " .insn rrf,0xb98e0000,0,%0,%1,0"
3230 : : "a" (opt), "a" (asce) : "cc");
3331 }
34
-
35
-#ifdef CONFIG_SMP
36
-void smp_ptlb_all(void);
3732
3833 /*
3934 * Flush all TLB entries on all CPUs.
....@@ -83,22 +78,6 @@
8378 else
8479 __tlb_flush_global();
8580 }
86
-#else
87
-#define __tlb_flush_global() __tlb_flush_local()
88
-
89
-/*
90
- * Flush TLB entries for a specific ASCE on all CPUs.
91
- */
92
-static inline void __tlb_flush_mm(struct mm_struct *mm)
93
-{
94
- __tlb_flush_local();
95
-}
96
-
97
-static inline void __tlb_flush_kernel(void)
98
-{
99
- __tlb_flush_local();
100
-}
101
-#endif
10281
10382 static inline void __tlb_flush_mm_lazy(struct mm_struct * mm)
10483 {