lkml.org 
[lkml]   [2013]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] genksyms: fix metag symbol prefix on crc symbols
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;
>



\
 
 \ /
  Last update: 2013-02-12 16:01    [W:0.032 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site