From: James Hogan Date: Mon, 11 Feb 2013 15:40:24 +0000 (+0000) Subject: genksyms: fix metag symbol prefix on crc symbols X-Git-Tag: submit/tizen/20141203.153721~2723^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97c3ec63089fdcd2abf66619b913900909841dc0;p=platform%2Fkernel%2Flinux-arm64.git 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 and so that modpost finds them. Signed-off-by: James Hogan --- diff --git a/scripts/genksyms/genksyms.c b/scripts/genksyms/genksyms.c index 8a106499ec4..d25e4a118d3 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;