diff options
author | James Hogan <james.hogan@imgtec.com> | 2013-02-11 15:40:24 +0000 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2013-02-15 09:28:48 +0000 |
commit | 6c703a621e26bed8d350b1741af153f9d344e340 (patch) | |
tree | 83838dba649331f294097bc7b17d9479eafb506f /scripts | |
parent | 031fbed8537bef8b9bdcdcd80ce279145501b413 (diff) |
genksyms: fix metag symbol prefix on crc symbols
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | 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 8a106499ec4f..d25e4a118d37 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; |