[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdWSO6V5Ln=Yp5yEQ0YHyH38yU5uyQytxJbmazZuL-=1DQ@mail.gmail.com>
Date: Mon, 18 Aug 2014 08:59:59 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Max Filippov <jcmvbkbc@...il.com>
Cc: Pranith Kumar <bobby.prani@...il.com>,
Vineet Gupta <vgupta@...opsys.com>,
Steven Miao <realmz6@...il.com>,
David Howells <dhowells@...hat.com>,
Richard Kuo <rkuo@...eaurora.org>,
James Hogan <james.hogan@...tec.com>,
Chris Metcalf <cmetcalf@...era.com>,
Chris Zankel <chris@...kel.net>, Noam Camus <noamc@...hip.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
Tony Lu <zlu@...era.com>, Kirill Tkhai <tkhai@...dex.ru>,
open list <linux-kernel@...r.kernel.org>,
"moderated list:BLACKFIN ARCHITEC..."
<adi-buildroot-devel@...ts.sourceforge.net>,
"open list:QUALCOMM HEXAGON..." <linux-hexagon@...r.kernel.org>,
"open list:METAG ARCHITECTURE" <linux-metag@...r.kernel.org>,
"open list:SUPERH" <linux-sh@...r.kernel.org>,
"open list:TENSILICA XTENSA..." <linux-xtensa@...ux-xtensa.org>
Subject: Re: [PATCH] flush_icache_range: Export symbol to fix build errors
On Mon, Aug 18, 2014 at 8:35 AM, Max Filippov <jcmvbkbc@...il.com> wrote:
> On Mon, Aug 18, 2014 at 8:24 AM, Pranith Kumar <bobby.prani@...il.com> wrote:
>> Fix building errors occuring due to a missing export of flush_icache_range() in
>> architectures missing the export.
>
> Can you be a little more specific here, what build errors?
kisskb.ellerman.id.au/kisskb/buildresult/11677809/
ERROR: "flush_icache_range" [drivers/misc/lkdtm.ko] undefined!
> [...]
>
>> diff --git a/arch/frv/include/asm/cacheflush.h b/arch/frv/include/asm/cacheflush.h
>> index edbac54..07ee4b3 100644
>> --- a/arch/frv/include/asm/cacheflush.h
>> +++ b/arch/frv/include/asm/cacheflush.h
>> @@ -72,6 +72,7 @@ static inline void flush_icache_range(unsigned long start, unsigned long end)
>> {
>> frv_cache_wback_inv(start, end);
>> }
>> +EXPORT_SYMBOL(flush_icache_range);
>
> EXPORT_SYMBOL should not be placed into header file as it defines
> a non-static variable.
Indeed.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists