diff options
| author | Kevin Brodsky <kevin.brodsky@arm.com> | 2025-12-18 13:05:40 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-02-01 01:22:40 +0300 |
| commit | 3a64d5b82eccc0dc629d43cde791a2c19bd67dfc (patch) | |
| tree | d267ee3139ee71e9aaafae09aaf724b7095270d5 /mm/tests | |
| parent | ed0a826ce3025832c8d8b79924fd638f75b62bb7 (diff) | |
| download | linux-3a64d5b82eccc0dc629d43cde791a2c19bd67dfc.tar.xz | |
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>
Diffstat (limited to 'mm/tests')
| -rw-r--r-- | mm/tests/lazy_mmu_mode_kunit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/tests/lazy_mmu_mode_kunit.c b/mm/tests/lazy_mmu_mode_kunit.c index 1c23456b467e..b689241c6bef 100644 --- a/mm/tests/lazy_mmu_mode_kunit.c +++ b/mm/tests/lazy_mmu_mode_kunit.c @@ -2,7 +2,6 @@ #include <kunit/test.h> #include <linux/pgtable.h> -/* For some symbols referenced by arch_{enter,leave}_lazy_mmu_mode on powerpc */ MODULE_IMPORT_NS("EXPORTED_FOR_KUNIT_TESTING"); static void expect_not_active(struct kunit *test) |
