Skip to contentSkip to conversation

m32r-fix-build-failure.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 27, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: m32r: fix build failure
has been removed from the -mm tree. Its filename was
m32r-fix-build-failure.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Sudip Mukherjee <[email protected]>
Subject: m32r: fix build failure

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.

---

 arch/m32r/kernel/smp.c |    1 +
 1 file changed, 1 insertion(+)
arch/m32r/kernel/smp.c renamed from arch/m32r/kernel/smp.c~m32r-fix-build-failure +1 -0
diff -puN arch/m32r/kernel/smp.c~m32r-fix-build-failure 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)
 {

_

Patches currently in -mm which might be from [email protected] are