2015-06-02 18:36:18

by Luis Chamberlain

[permalink] [raw]
Subject: [PATCH] ia64: export flush_icache_range for module use

From: "Luis R. Rodriguez" <[email protected]>

This is needed the following modules:

"Linux Kernel Dump Test Tool Module"
CONFIG_LKDTM drivers/misc/lkdtm.c

Since:
mcgrof@ergon ~/linux-next (git::master)$ git describe --contains aac416fc38cdf
v3.15-rc1~141^2~84

CONFIG_STI_CONSOLE drivers/video/console/sticore.c
Since: beginning of new git time on Linux

Signed-off-by: Luis R. Rodriguez <[email protected]>
---

Without this you can't build modules on ia64 if you've enabled
either of these modules. lkdtm is enabled on SLE11, so this helps
upkeep that tradition.

arch/ia64/kernel/ia64_ksyms.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/arch/ia64/kernel/ia64_ksyms.c b/arch/ia64/kernel/ia64_ksyms.c
index 5b7791d..0967310 100644
--- a/arch/ia64/kernel/ia64_ksyms.c
+++ b/arch/ia64/kernel/ia64_ksyms.c
@@ -96,3 +96,6 @@ EXPORT_SYMBOL(ia64_ivt);
/* mcount is defined in assembly */
EXPORT_SYMBOL(_mcount);
#endif
+
+#include <asm/cacheflush.h>
+EXPORT_SYMBOL_GPL(flush_icache_range);
--
2.3.2.209.gd67f9d5.dirty