Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1255581 > unrolled thread

[PATCH -next] cris: Drop reference to get_cmos_time()

Started byGuenter Roeck <linux@roeck-us.net>
First post2015-10-26 00:00 +0100
Last post2015-10-26 16:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH -next] cris: Drop reference to get_cmos_time() Guenter Roeck <linux@roeck-us.net> - 2015-10-26 00:00 +0100
    Re: [PATCH -next] cris: Drop reference to get_cmos_time() Jesper Nilsson <jesper.nilsson@axis.com> - 2015-10-26 16:30 +0100

#1255581 — [PATCH -next] cris: Drop reference to get_cmos_time()

FromGuenter Roeck <linux@roeck-us.net>
Date2015-10-26 00:00 +0100
Subject[PATCH -next] cris: Drop reference to get_cmos_time()
Message-ID<qnCqC-lb-9@gated-at.bofh.it>
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 <pang.xunlei@linaro.org>
Cc: Rabin Vincent <rabin@rab.in>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 arch/cris/kernel/crisksyms.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/cris/kernel/crisksyms.c b/arch/cris/kernel/crisksyms.c
index e704f81f85cc..31b4bd288cad 100644
--- a/arch/cris/kernel/crisksyms.c
+++ b/arch/cris/kernel/crisksyms.c
@@ -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 */
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1256106

FromJesper Nilsson <jesper.nilsson@axis.com>
Date2015-10-26 16:30 +0100
Message-ID<qnRSG-1tC-25@gated-at.bofh.it>
In reply to#1255581
On Sun, Oct 25, 2015 at 03:50:59PM -0700, Guenter Roeck wrote:
> 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
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web