2015-06-02 18:36:23

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


2015-06-12 00:59:15

by Luis Chamberlain

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

On Tue, Jun 2, 2015 at 11:33 AM, Luis R. Rodriguez
<[email protected]> wrote:
> 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]>

Just a friendly reminder. Let me know if there are any issues.

Luis

2015-06-15 22:41:54

by Tony Luck

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

On Thu, Jun 11, 2015 at 5:58 PM, Luis R. Rodriguez <[email protected]> wrote:
>> "Linux Kernel Dump Test Tool Module"
>> CONFIG_LKDTM drivers/misc/lkdtm.c

> Just a friendly reminder. Let me know if there are any issues.

Ok. Got it,

-Tony