aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/iommu/intel-svm.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/iommu/intel-svm.c b/drivers/iommu/intel-svm.c
index 79add5716552..c79540deaf00 100644
--- a/drivers/iommu/intel-svm.c
+++ b/drivers/iommu/intel-svm.c
@@ -180,14 +180,6 @@ static void intel_flush_svm_range(struct intel_svm *svm, unsigned long address,
180 rcu_read_unlock(); 180 rcu_read_unlock();
181} 181}
182 182
183static void intel_change_pte(struct mmu_notifier *mn, struct mm_struct *mm,
184 unsigned long address, pte_t pte)
185{
186 struct intel_svm *svm = container_of(mn, struct intel_svm, notifier);
187
188 intel_flush_svm_range(svm, address, 1, 1, 0);
189}
190
191/* Pages have been freed at this point */ 183/* Pages have been freed at this point */
192static void intel_invalidate_range(struct mmu_notifier *mn, 184static void intel_invalidate_range(struct mmu_notifier *mn,
193 struct mm_struct *mm, 185 struct mm_struct *mm,
@@ -227,7 +219,6 @@ static void intel_mm_release(struct mmu_notifier *mn, struct mm_struct *mm)
227 219
228static const struct mmu_notifier_ops intel_mmuops = { 220static const struct mmu_notifier_ops intel_mmuops = {
229 .release = intel_mm_release, 221 .release = intel_mm_release,
230 .change_pte = intel_change_pte,
231 .invalidate_range = intel_invalidate_range, 222 .invalidate_range = intel_invalidate_range,
232}; 223};
233 224