linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: kernel: compiling issue, need 'EXPORT_SYMBOL_GPL(read_current_timer)'
@ 2013-05-20  6:48 Chen Gang
  2013-05-20  7:15 ` Marc Zyngier
  0 siblings, 1 reply; 17+ messages in thread
From: Chen Gang @ 2013-05-20  6:48 UTC (permalink / raw)
  To: linux-arm-kernel


Need 'EXPORT_SYMBOL_GPL(read_current_timer)' if build with allmodconfig.

The related error:
  ERROR: "read_current_timer" [lib/rbtree_test.ko] undefined!
  ERROR: "read_current_timer" [lib/interval_tree_test.ko] undefined!
  ERROR: "read_current_timer" [fs/ext4/ext4.ko] undefined!
  ERROR: "read_current_timer" [crypto/tcrypt.ko] undefined!


Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
 arch/arm64/kernel/time.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm64/kernel/time.c b/arch/arm64/kernel/time.c
index a551f88..7fcba80 100644
--- a/arch/arm64/kernel/time.c
+++ b/arch/arm64/kernel/time.c
@@ -73,6 +73,7 @@ int read_current_timer(unsigned long *timer_value)
 	*timer_value = arch_timer_read_counter();
 	return 0;
 }
+EXPORT_SYMBOL_GPL(read_current_timer);
 
 void __init time_init(void)
 {
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-06-13  1:13 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-20  6:48 [PATCH] arm64: kernel: compiling issue, need 'EXPORT_SYMBOL_GPL(read_current_timer)' Chen Gang
2013-05-20  7:15 ` Marc Zyngier
2013-05-20  9:56   ` Will Deacon
2013-05-21  4:06     ` Chen Gang
2013-05-21  6:13       ` Marc Zyngier
2013-05-21  8:41         ` Chen Gang
2013-05-21  8:58           ` Marc Zyngier
2013-05-21  9:26             ` Chen Gang
2013-05-21  8:53       ` Will Deacon
2013-05-21  9:27         ` Chen Gang
2013-05-21  9:46         ` [PATCH v2] arm64: kernel: compiling issue, need delete read_current_timer() Chen Gang
2013-05-27 10:02           ` Chen Gang
2013-06-08  4:37             ` Chen Gang
2013-06-10  8:57               ` Will Deacon
2013-06-13  1:12                 ` Chen Gang
2013-06-10  8:57               ` Marc Zyngier
2013-06-13  1:13                 ` Chen Gang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).