Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1405459 > unrolled thread
| Started by | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| First post | 2016-05-23 17:40 +0200 |
| Last post | 2016-05-23 17:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH] m32r: fix build failure Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-05-23 17:40 +0200
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| Date | 2016-05-23 17:40 +0200 |
| Subject | [PATCH] m32r: fix build failure |
| Message-ID | <rC07w-7GV-15@gated-at.bofh.it> |
m32r allmodconfig build was failing with the error:
ERROR: "smp_flush_cache_all" [drivers/misc/lkdtm.ko] undefined!
lkdtm driver at drivers/misc is using flush_icache_range() which for
m32r is defined as smp_flush_cache_all() if CONFIG_SMP is defined.
But as smp_flush_cache_all() was not exported so the build was failing
with the error of undefined symbol.
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
---
Hi Andrew,
as usual sending the patch to you as m32r arch is orphan.
build log is at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/132180911
arch/m32r/kernel/smp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/m32r/kernel/smp.c b/arch/m32r/kernel/smp.c
index 62d6961..564052e 100644
--- a/arch/m32r/kernel/smp.c
+++ b/arch/m32r/kernel/smp.c
@@ -164,6 +164,7 @@ void smp_flush_cache_all(void)
spin_unlock(&flushcache_lock);
preempt_enable();
}
+EXPORT_SYMBOL(smp_flush_cache_all);
void smp_flush_cache_all_interrupt(void)
{
--
1.9.1
Back to top | Article view | linux.kernel
csiph-web