Skip to contentSkip to conversation

xtensa: export ccount_freq

PATCH In review Guenter Roeck 2 participants 2 messages Feb 25, 2014 Tensilica Xtensa port (xtensa)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xtensa: export ccount_freq

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.

---
 arch/xtensa/kernel/time.c |    1 +
 1 file changed, 1 insertion(+)
arch/xtensa/kernel/time.c +1 -0
index 08b769d..2a1823d 100644
@@ -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)
 {
Signature · 1 line
1.7.9.7
maintainer
#1 lore raw
Quoted 10 lines · 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.

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

Signature · 2 lines
Thanks.
-- Max