[PATCH] ia64: export flush_icache_range for module use

From: Luis R. Rodriguez
Date: Tue Jun 02 2015 - 14:36:26 EST


From: "Luis R. Rodriguez" <mcgrof@xxxxxxxx>

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 <mcgrof@xxxxxxxx>
---

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

--
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/