public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org, blaisorblade@yahoo.it
Subject: Re: [PATCH 2.6.14-rc5-mm1] UML: fix compile part-2
Date: Mon, 24 Oct 2005 22:18:28 -0400	[thread overview]
Message-ID: <20051025021828.GA13870@ccure.user-mode-linux.org> (raw)
In-Reply-To: <E1EU4jP-0005lz-00@dorka.pomaz.szeredi.hu>

On Mon, Oct 24, 2005 at 05:59:27PM +0200, Miklos Szeredi wrote:
> This patch fixes the following compile error:
> 
>   LD      .tmp_vmlinux1
> arch/um/kernel/built-in.o(.text+0x577a): In function `do_gettimeofday':
> arch/um/kernel/time.c:128: undefined reference to `clock_was_set'
> collect2: ld returned 1 exit status
> 
> ktimers patch left all clock_was_set() calls in place presumably
> because they will be reused at a later time (?).  So this patch does
> the same.
> 
> Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
> 
> Index: linux/arch/um/kernel/time.c
> ===================================================================
> --- linux.orig/arch/um/kernel/time.c	2005-09-02 11:17:38.000000000 +0200
> +++ linux/arch/um/kernel/time.c	2005-10-24 13:26:20.000000000 +0200
> @@ -114,8 +114,8 @@ void time_init(void)
>  	wall_to_monotonic.tv_nsec = -now.tv_nsec;
>  }
>  
> -/* Declared in linux/time.h, which can't be included here */
> -extern void clock_was_set(void);
> +/* Defined in linux/ktimer.h, which can't be included here */
> +#define clock_was_set()		do { } while (0)
>  
>  void do_gettimeofday(struct timeval *tv)
>  {
> -

Acked-by: Jeff Dike <jdike@addtoit.com>

				Jeff

      reply	other threads:[~2005-10-25  2:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-24 15:59 [PATCH 2.6.14-rc5-mm1] UML: fix compile part-2 Miklos Szeredi
2005-10-25  2:18 ` Jeff Dike [this message]

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=20051025021828.GA13870@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=akpm@osdl.org \
    --cc=blaisorblade@yahoo.it \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    /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