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

Vitaly Chikunov vt на altlinux.org
Пн Июн 5 16:46:21 MSK 2023


Konstantin,

On Fri, Jun 02, 2023 at 11:57:40PM +0200, Konstantin A. Lepikhov wrote:
> From: "Konstantin Lepikhov" <lakostis at altlinux.org>
> 
> This symbol will be used outside of kernel by some modules (like
> anbox).

Applied, thanks

> ---
>  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 mailing list
> devel-kernel at lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-kernel


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