* [PATCH] xtensa: export ccount_freq
@ 2014-02-25 4:07 Guenter Roeck
2014-02-25 4:36 ` Max Filippov
0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2014-02-25 4:07 UTC (permalink / raw)
To: Chris Zankel; +Cc: Max Filippov, linux-xtensa, linux-kernel, Guenter Roeck
xtensa:allmodconfig fails to build with hundreds of messages such as
ERROR: "ccount_freq" [drivers/ata/pata_hpt3x2n.ko] undefined!
Exporting ccount_freq solves the problem.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
arch/xtensa/kernel/time.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c
index 08b769d..2a1823d 100644
--- a/arch/xtensa/kernel/time.c
+++ b/arch/xtensa/kernel/time.c
@@ -30,6 +30,7 @@
#include <asm/platform.h>
unsigned long ccount_freq; /* ccount Hz */
+EXPORT_SYMBOL(ccount_freq);
static cycle_t ccount_read(struct clocksource *cs)
{
--
1.7.9.7
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] xtensa: export ccount_freq
2014-02-25 4:07 [PATCH] xtensa: export ccount_freq Guenter Roeck
@ 2014-02-25 4:36 ` Max Filippov
0 siblings, 0 replies; 2+ messages in thread
From: Max Filippov @ 2014-02-25 4:36 UTC (permalink / raw)
To: Guenter Roeck; +Cc: Chris Zankel, linux-xtensa, LKML
On Tue, Feb 25, 2014 at 8:07 AM, Guenter Roeck <linux@roeck-us.net> wrote:
> xtensa:allmodconfig fails to build with hundreds of messages such as
>
> ERROR: "ccount_freq" [drivers/ata/pata_hpt3x2n.ko] undefined!
>
> Exporting ccount_freq solves the problem.
>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> arch/xtensa/kernel/time.c | 1 +
> 1 file changed, 1 insertion(+)
Hi Guenter,
a similar patch is already queued:
http://lists.linux-xtensa.org/pipermail/linux-xtensa/Week-of-Mon-20140113/001500.html
--
Thanks.
-- Max
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-25 4:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-25 4:07 [PATCH] xtensa: export ccount_freq Guenter Roeck
2014-02-25 4:36 ` Max Filippov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®