[PATCH v3 06/40] mm: make map_kernel_pages_[prepare,complete] internal and unexported

Zi Yan ziy at nvidia.com
Thu Sep 24 12:30:07 PDT 2026


On Thu Sep 17, 2026 at 12:22 PM EDT, Lorenzo Stoakes (ARM) wrote:
> There's no reason to export the symbols for these functions which are only
> called from internal mm logic, additionally there's no reason for them to
> be declared in mm.h.
>
> This patch therefore removes the exports and moves the declarations to
> mm/internal.h.
>
> No functional change intended.
>
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs at kernel.org>
> ---
>  include/linux/mm.h | 3 ---
>  mm/internal.h      | 3 +++
>  mm/memory.c        | 2 --
>  3 files changed, 3 insertions(+), 5 deletions(-)
>

Makse sense.

Reviewed-by: Zi Yan <ziy at nvidia.com>

-- 
Best Regards,
Yan, Zi




More information about the linux-riscv mailing list