]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/genksyms/genksyms.c
hrtimer: rename the "expires" struct member to avoid accidental usage
[linux-2.6-omap-h63xx.git] / scripts / genksyms / genksyms.c
index dca5e0dd09bf1fdc57b525f23befeba074e41c10..c249274e005a93144c29759d877419a3d196423e 100644 (file)
@@ -520,8 +520,7 @@ int main(int argc, char **argv)
                        genksyms_usage();
                        return 1;
                }
-       if ((strcmp(arch, "v850") == 0) || (strcmp(arch, "h8300") == 0)
-           || (strcmp(arch, "blackfin") == 0))
+       if ((strcmp(arch, "h8300") == 0) || (strcmp(arch, "blackfin") == 0))
                mod_prefix = "_";
        {
                extern int yydebug;
@@ -546,6 +545,8 @@ int main(int argc, char **argv)
                        }
                        fputs(sym->name, dumpfile);
                        putc(' ', dumpfile);
+                       if (sym->is_extern)
+                               fputs("extern ", dumpfile);
                        print_list(dumpfile, sym->defn);
                        putc('\n', dumpfile);