Skip to contentSkip to conversation

cris: Drop reference to get_cmos_time()

PATCH In review Guenter Roeck 2 participants 2 messages Oct 25, 2015 – Oct 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cris: Drop reference to get_cmos_time()

Function get_cmos_time() was removed with commit 657926a83df9 ("cris:
time: Cleanup of persistent clock stuff"). The remaining reference to it may cause the following build error.

arch/cris/kernel/built-in.o:(___ksymtab+get_cmos_time+0x0):
undefined reference to `get_cmos_time'
Makefile:946: recipe for target 'vmlinux' failed

Fixes 657926a83df9 ("cris: time: Cleanup of persistent clock stuff")
Cc Xunlei Pang <[email protected]>
Cc Rabin Vincent <[email protected]>
---
 arch/cris/kernel/crisksyms.c | 2 --
 1 file changed, 2 deletions(-)
arch/cris/kernel/crisksyms.c +0 -2
index e704f81f85cc..31b4bd288cad 100644
@@ -18,7 +18,6 @@
 #include <asm/pgtable.h>
 #include <asm/fasttimer.h>
 
-extern unsigned long get_cmos_time(void);
 extern void __Udiv(void);
 extern void __Umod(void);
 extern void __Div(void);
@@ -30,7 +29,6 @@ extern void __negdi2(void);
 extern void iounmap(volatile void * __iomem);
 
 /* Platform dependent support */
-EXPORT_SYMBOL(get_cmos_time);
 EXPORT_SYMBOL(loops_per_usec);
 
 /* Math functions */
Signature · 1 line
2.1.4
#1 lore raw
Quoted 7 lines · Guenter Roeck

Function get_cmos_time() was removed with commit 657926a83df9 ("cris:
time: Cleanup of persistent clock stuff"). The remaining reference to it may cause the following build error.

arch/cris/kernel/built-in.o:(___ksymtab+get_cmos_time+0x0):
undefined reference to `get_cmos_time'
Makefile:946: recipe for target 'vmlinux' failed

Agreed, added to the cris-tree.

Thanks,

/^JN - Jesper Nilsson

Signature · 1 line
               Jesper Nilsson -- [email protected]