[PATCH] arch/score/mm/cache.c: Export 'flush_icache_range'

From: Chen Gang
Date: Wed Jul 09 2014 - 04:56:51 EST


The related error (with allmodconfig under score):

MODPOST 1365 modules
ERROR: "flush_icache_range" [drivers/misc/lkdtm.ko] undefined!

Signed-off-by: Chen Gang <gang.chen.5i5j@xxxxxxxxx>
---
arch/score/mm/cache.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/score/mm/cache.c b/arch/score/mm/cache.c
index be91041..b4bcfd3 100644
--- a/arch/score/mm/cache.c
+++ b/arch/score/mm/cache.c
@@ -278,3 +278,4 @@ void flush_icache_range(unsigned long start, unsigned long end)
start += L1_CACHE_BYTES;
}
}
+EXPORT_SYMBOL(flush_icache_range);
--
1.9.2.459.g68773ac
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/