mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [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

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®