lkml.org 
[lkml]   [2014]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] xtensa: export ccount_freq
Date
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


\
 
 \ /
  Last update: 2014-02-25 06:01    [W:0.194 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site