diff options
author | James Hogan <james.hogan@imgtec.com> | 2013-02-11 10:40:24 -0500 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2013-03-02 15:11:13 -0500 |
commit | 97c3ec63089fdcd2abf66619b913900909841dc0 (patch) | |
tree | ca93519b5a80421ed1f6d2f41f7c405c7841bcf3 /scripts/genksyms | |
parent | f75c28d896f4dd0064e60bba1e82a4c98908d239 (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/genksyms')
-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) | |||
826 | genksyms_usage(); | 826 | genksyms_usage(); |
827 | return 1; | 827 | return 1; |
828 | } | 828 | } |
829 | if ((strcmp(arch, "h8300") == 0) || (strcmp(arch, "blackfin") == 0)) | 829 | if ((strcmp(arch, "h8300") == 0) || (strcmp(arch, "blackfin") == 0) || |
830 | (strcmp(arch, "metag") == 0)) | ||
830 | mod_prefix = "_"; | 831 | mod_prefix = "_"; |
831 | { | 832 | { |
832 | extern int yydebug; | 833 | extern int yydebug; |