public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nigel Cunningham <nigel@nigel.suspend2.net>
To: Dave Jones <davej@redhat.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Current Linus' git compilation breakage.
Date: Sat, 13 Oct 2007 21:19:34 +1000	[thread overview]
Message-ID: <200710132119.36082.nigel@nigel.suspend2.net> (raw)
In-Reply-To: <20071013012244.GD18760@redhat.com>

Hi Dave et al.

On Saturday 13 October 2007 11:22:44 Dave Jones wrote:
> On Sat, Oct 13, 2007 at 11:11:31AM +1000, Nigel Cunningham wrote:
>  > Hi all.
>  > 
>  > Maybe I just picked a bad time to try, but...
>  > 
>  > arch/x86/kernel/alternative.c: In function 'apply_alternatives':
>  > arch/x86/kernel/alternative.c:191: error: 'VSYSCALL_START' undeclared 
(first use in this function)
>  > arch/x86/kernel/alternative.c:191: error: (Each undeclared identifier is 
reported only once
>  > arch/x86/kernel/alternative.c:191: error: for each function it appears 
in.)
>  > arch/x86/kernel/alternative.c:191: error: 'VSYSCALL_END' undeclared 
(first use in this function)
>  > make[1]: *** [arch/x86/kernel/alternative.o] Error 1
>  > make: *** [arch/x86/kernel] Error 2
> 
> Try this.
> 
> Include missing header for vsyscall.
> 
> Signed-off-by: Dave Jones <davej@redhat.com>

Thanks.

Compile-Tested-by: Nigel Cunningham <ncunning@redhat.com>

> diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
> index bd72d94..11b03d3 100644
> --- a/arch/x86/kernel/alternative.c
> +++ b/arch/x86/kernel/alternative.c
> @@ -10,6 +10,7 @@
>  #include <asm/pgtable.h>
>  #include <asm/mce.h>
>  #include <asm/nmi.h>
> +#include <asm/vsyscall.h>
>  
>  #define MAX_PATCH_LEN (255-1)

      parent reply	other threads:[~2007-10-13 11:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-13  1:11 Current Linus' git compilation breakage Nigel Cunningham
2007-10-13  1:22 ` Dave Jones
2007-10-13  9:30   ` Jean Delvare
2007-10-13 11:19   ` Nigel Cunningham [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=200710132119.36082.nigel@nigel.suspend2.net \
    --to=nigel@nigel.suspend2.net \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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