public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: David Howells <dhowells@redhat.com>
Cc: torvalds@linux-foundation.org, jdi@l4x.org,
	linux-kernel@vger.kernel.org, dhowells@redhat.com
Subject: Re: [PATCH] FRV: Fix the extern declaration of kallsyms_num_syms
Date: Fri, 9 Nov 2007 11:52:07 -0800	[thread overview]
Message-ID: <20071109115207.e435f19b.akpm@linux-foundation.org> (raw)
In-Reply-To: <20071106214820.3854.17402.stgit@warthog.procyon.org.uk>

On Tue, 06 Nov 2007 21:48:20 +0000
David Howells <dhowells@redhat.com> wrote:

> From: David Howells <dhowells@redhat.com>
> 
> Fix the extern declaration of kallsyms_num_syms to indicate that the symbol
> does not reside in the small-data storage space, and so may not be accessed
> relative to the small data base register.
> 
> Signed-off-by: David Howells <dhowells@redhat.com>
> ---
> 
>  kernel/kallsyms.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/kernel/kallsyms.c b/kernel/kallsyms.c
> index 474219a..fa84b83 100644
> --- a/kernel/kallsyms.c
> +++ b/kernel/kallsyms.c
> @@ -32,7 +32,8 @@
>  
>  /* These will be re-linked against their real values during the second link stage */
>  extern const unsigned long kallsyms_addresses[] __attribute__((weak));
> -extern const unsigned long kallsyms_num_syms __attribute__((weak));
> +extern const unsigned long kallsyms_num_syms
> +__nongpreldata __attribute__((weak));

umm, this makes Linux an frv-only operating system...

>  extern const u8 kallsyms_names[] __attribute__((weak));
>  
>  extern const u8 kallsyms_token_table[] __attribute__((weak));

  reply	other threads:[~2007-11-09 19:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06 21:48 [PATCH] FRV: Fix the extern declaration of kallsyms_num_syms David Howells
2007-11-09 19:52 ` Andrew Morton [this message]
2007-11-13 15:44   ` David Howells
2007-11-13 17:01     ` David Howells

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=20071109115207.e435f19b.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=dhowells@redhat.com \
    --cc=jdi@l4x.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.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