[d-kernel] [PATCH] mm: export zap_page_range_single

Konstantin A. Lepikhov lakostis на altlinux.ru
Сб Июн 3 00:57:40 MSK 2023


From: "Konstantin Lepikhov" <lakostis на altlinux.org>

This symbol will be used outside of kernel by some modules (like
anbox).
---
 mm/memory.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mm/memory.c b/mm/memory.c
index 01a23ad48a04..8762b4885424 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -1728,6 +1728,7 @@ void zap_page_range_single(struct vm_area_struct *vma, unsigned long address,
 	mmu_notifier_invalidate_range_end(&range);
 	tlb_finish_mmu(&tlb);
 }
+EXPORT_SYMBOL_GPL(zap_page_range_single);
 
 /**
  * zap_vma_ptes - remove ptes mapping the vma
-- 
2.33.8



Подробная информация о списке рассылки devel-kernel