linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@csd.uu.se>
To: m3thos@netcabo.pt
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test1  doesn't compile on PPC iBook2.2
Date: Thu, 17 Jul 2003 02:15:27 +0200 (MEST)	[thread overview]
Message-ID: <200307170015.h6H0FRBX019953@harpo.it.uu.se> (raw)

On Wed, 16 Jul 2003 22:14:40 +0100, Miguel Sousa Filipe wrote:
>   CC      arch/ppc/kernel/time.o
>arch/ppc/kernel/time.c: In function `do_settimeofday':
>arch/ppc/kernel/time.c:247: conflicting types for `new_nsec'
>arch/ppc/kernel/time.c:245: previous declaration of `new_nsec'
>arch/ppc/kernel/time.c:247: conflicting types for `new_sec'
>arch/ppc/kernel/time.c:244: previous declaration of `new_sec'
>make[1]: *** [arch/ppc/kernel/time.o] Error 1
>make: *** [arch/ppc/kernel] Error 2

Apply the following patch:

--- linux-2.6.0-test1/arch/ppc/kernel/time.c.~1~	2003-07-14 13:17:24.000000000 +0200
+++ linux-2.6.0-test1/arch/ppc/kernel/time.c	2003-07-14 19:06:58.000000000 +0200
@@ -244,7 +244,7 @@
 	time_t wtm_sec, new_sec = tv->tv_sec;
 	long wtm_nsec, new_nsec = tv->tv_nsec;
 	unsigned long flags;
-	int tb_delta, new_nsec, new_sec;
+	int tb_delta;
 
 	if ((unsigned long)tv->tv_nsec >= NSEC_PER_SEC)
 		return -EINVAL;

             reply	other threads:[~2003-07-17  0:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-17  0:15 Mikael Pettersson [this message]
2003-07-17  0:32 ` 2.6.0-test1 doesn't compile on PPC iBook2.2 Miguel Sousa Filipe
2003-07-17  0:57   ` Miguel Sousa Filipe
2003-07-17  1:28     ` Paul Mundt
2003-07-17  1:48       ` Miguel Sousa Filipe
2003-07-17  1:55         ` Paul Mundt
  -- strict thread matches above, loose matches on Subject: below --
2003-07-16 21:14 Miguel Sousa Filipe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200307170015.h6H0FRBX019953@harpo.it.uu.se \
    --to=mikpe@csd.uu.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m3thos@netcabo.pt \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).