linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 ppc patch] fix compilation error in arch/ppc/kernel/time.c
@ 2005-04-11 16:42 Benoit Boissinot
  0 siblings, 0 replies; only message in thread
From: Benoit Boissinot @ 2005-04-11 16:42 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, paulus

make defconfig give the following error on ppc (gcc-4):

arch/ppc/kernel/time.c:92: error: static declaration of ‘time_offset’
follows non-static declaration
include/linux/timex.h:236: error: previous declaration of ‘time_offset’
was here

The following patch solves it (time_offset is declared in timer.c).

Signed-Off-By: Benoit Boissinot <benoit.boissinot@ens-lyon.org>


--- ./arch/ppc/kernel/time.c.orig	2005-04-11 14:44:19.000000000 +0200
+++ ./arch/ppc/kernel/time.c	2005-04-11 14:44:30.000000000 +0200
@@ -89,8 +89,6 @@ unsigned long tb_to_ns_scale;
 
 extern unsigned long wall_jiffies;
 
-static long time_offset;
-
 DEFINE_SPINLOCK(rtc_lock);
 
 EXPORT_SYMBOL(rtc_lock);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-11 16:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-11 16:42 [2.6 ppc patch] fix compilation error in arch/ppc/kernel/time.c Benoit Boissinot

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