All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Hogan <james.hogan@imgtec.com>
To: <linux-kernel@vger.kernel.org>
Cc: James Hogan <james.hogan@imgtec.com>, Arnd <arnd@arndb.de>
Subject: Re: [PATCH 1/1] genksyms: fix metag symbol prefix on crc symbols
Date: Tue, 12 Feb 2013 14:13:06 +0000	[thread overview]
Message-ID: <511A4DF2.6070208@imgtec.com> (raw)
In-Reply-To: <1360598235-11188-1-git-send-email-james.hogan@imgtec.com>

On 11/02/13 15:57, James Hogan wrote:
> Meta uses symbol prefixes, so add "metag" to the list of architectures
> to set the mod_prefix to "_" for. This fixes __crc_* symbols to add the
> extra underscore to match _CRC_SYMBOL macro in <linux/export.h> and so
> that modpost finds them.
> 
> Signed-off-by: James Hogan <james.hogan@imgtec.com>

Unless anybody raises any objections I'll add this to the metag tree as
it's pretty trivial.

Cheers
James

> ---
>  scripts/genksyms/genksyms.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/scripts/genksyms/genksyms.c b/scripts/genksyms/genksyms.c
> index 8a10649..d25e4a1 100644
> --- a/scripts/genksyms/genksyms.c
> +++ b/scripts/genksyms/genksyms.c
> @@ -826,7 +826,8 @@ int main(int argc, char **argv)
>  			genksyms_usage();
>  			return 1;
>  		}
> -	if ((strcmp(arch, "h8300") == 0) || (strcmp(arch, "blackfin") == 0))
> +	if ((strcmp(arch, "h8300") == 0) || (strcmp(arch, "blackfin") == 0) ||
> +	    (strcmp(arch, "metag") == 0))
>  		mod_prefix = "_";
>  	{
>  		extern int yydebug;
> 


      reply	other threads:[~2013-02-12 14:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-11 15:57 [PATCH 1/1] genksyms: fix metag symbol prefix on crc symbols James Hogan
2013-02-12 14:13 ` James Hogan [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=511A4DF2.6070208@imgtec.com \
    --to=james.hogan@imgtec.com \
    --cc=arnd@arndb.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.