]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sparc/mm: export symbols for lazy_mmu_mode KUnit tests
authorKevin Brodsky <kevin.brodsky@arm.com>
Thu, 18 Dec 2025 10:05:40 +0000 (10:05 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 31 Jan 2026 22:22:40 +0000 (14:22 -0800)
commit3a64d5b82eccc0dc629d43cde791a2c19bd67dfc
treed267ee3139ee71e9aaafae09aaf724b7095270d5
parented0a826ce3025832c8d8b79924fd638f75b62bb7
sparc/mm: export symbols for lazy_mmu_mode KUnit tests

The lazy_mmu_mode KUnit tests call lazy_mmu_mode_{enable,disable}.  These
tests may be built as a module, and because of inlining this means that
arch_{enter,flush,leave}_lazy_mmu_mode need to be exported.

[akpm@linux-foundation.org: remove mm/tests/lazy_mmu_mode_kunit.c comment, per Kevin]
Link: https://lkml.kernel.org/r/20251218100541.2667405-1-kevin.brodsky@arm.com
Fixes: ee628d9cc8d5 ("mm: add basic tests for lazy_mmu")
Signed-off-by: Kevin Brodsky <kevin.brodsky@arm.com>
Acked-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/sparc/mm/tlb.c
mm/tests/lazy_mmu_mode_kunit.c