[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251217163812.2633648-2-kevin.brodsky@arm.com>
Date: Wed, 17 Dec 2025 16:38:12 +0000
From: Kevin Brodsky <kevin.brodsky@....com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org,
Ryan Roberts <ryan.roberts@....com>,
Ritesh Harjani <ritesh.list@...il.com>,
linux-mm@...ck.org,
linuxppc-dev@...ts.ozlabs.org,
Kevin Brodsky <kevin.brodsky@....com>
Subject: [PATCH] mm: Add basic tests for lazy_mmu - fix for powerpc
Add MODULE_IMPORT_NS() for symbols referenced on powerpc.
Signed-off-by: Kevin Brodsky <kevin.brodsky@....com>
---
Andrew, please squash this into the last patch in the series
("mm: Add basic tests for lazy_mmu"). Thanks!
---
mm/tests/lazy_mmu_mode_kunit.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mm/tests/lazy_mmu_mode_kunit.c b/mm/tests/lazy_mmu_mode_kunit.c
index 2720eb995714..1c23456b467e 100644
--- a/mm/tests/lazy_mmu_mode_kunit.c
+++ b/mm/tests/lazy_mmu_mode_kunit.c
@@ -2,6 +2,9 @@
#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)
{
KUNIT_EXPECT_FALSE(test, is_lazy_mmu_mode_active());
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
--
2.51.2
Powered by blists - more mailing lists