All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] arm: mm: Export __sync_icache_dcache() for xen-privcmd
@ 2019-04-13 16:30 ` Heinrich Schuchardt
  0 siblings, 0 replies; 10+ messages in thread
From: Heinrich Schuchardt @ 2019-04-13 16:30 UTC (permalink / raw)
  To: Russell King; +Cc: linux-arm-kernel, linux-kernel, stable, Heinrich Schuchardt

This patch avoids
ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined!
observed when compiling v4.19.34.

The xen-privcmd driver, which can be modular, calls set_pte_at()
which in turn may call __sync_icache_dcache().

Cc: stable@vger.kernel.org
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 arch/arm/mm/flush.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mm/flush.c b/arch/arm/mm/flush.c
index 58469623b015..5345f86c56d2 100644
--- a/arch/arm/mm/flush.c
+++ b/arch/arm/mm/flush.c
@@ -295,6 +295,7 @@ void __sync_icache_dcache(pte_t pteval)
 	if (pte_exec(pteval))
 		__flush_icache_all();
 }
+EXPORT_SYMBOL_GPL(__sync_icache_dcache);
 #endif

 /*
--
2.20.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-04-17 10:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-13 16:30 [PATCH 1/1] arm: mm: Export __sync_icache_dcache() for xen-privcmd Heinrich Schuchardt
2019-04-13 16:30 ` Heinrich Schuchardt
2019-04-15  5:51 ` Christoph Hellwig
2019-04-15  5:51   ` Christoph Hellwig
2019-04-17  9:41   ` Russell King - ARM Linux admin
2019-04-17  9:41     ` Russell King - ARM Linux admin
2019-04-17 10:03     ` Catalin Marinas
2019-04-17 10:03       ` Catalin Marinas
2019-04-17 10:31       ` Russell King - ARM Linux admin
2019-04-17 10:31         ` Russell King - ARM Linux admin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.