diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/genksyms/genksyms.c | 4 | ||||
-rw-r--r-- | scripts/mod/modpost.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/genksyms/genksyms.c b/scripts/genksyms/genksyms.c index 416a694b0998..ef8822e59cda 100644 --- a/scripts/genksyms/genksyms.c +++ b/scripts/genksyms/genksyms.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #endif /* __GNU_LIBRARY__ */ | 32 | #endif /* __GNU_LIBRARY__ */ |
33 | 33 | ||
34 | #include "genksyms.h" | 34 | #include "genksyms.h" |
35 | 35 | #include "../mod/elfconfig.h" | |
36 | /*----------------------------------------------------------------------*/ | 36 | /*----------------------------------------------------------------------*/ |
37 | 37 | ||
38 | #define HASH_BUCKETS 4096 | 38 | #define HASH_BUCKETS 4096 |
@@ -458,7 +458,7 @@ export_symbol(const char *name) | |||
458 | fputs(">\n", debugfile); | 458 | fputs(">\n", debugfile); |
459 | 459 | ||
460 | /* Used as a linker script. */ | 460 | /* Used as a linker script. */ |
461 | printf("__crc_%s = 0x%08lx ;\n", name, crc); | 461 | printf("%s__crc_%s = 0x%08lx ;\n", MODULE_SYMBOL_PREFIX, name, crc); |
462 | } | 462 | } |
463 | } | 463 | } |
464 | 464 | ||
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index e2bf4c927dd3..30f3ac8eb43c 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -346,8 +346,8 @@ static void parse_elf_finish(struct elf_info *info) | |||
346 | release_file(info->hdr, info->size); | 346 | release_file(info->hdr, info->size); |
347 | } | 347 | } |
348 | 348 | ||
349 | #define CRC_PFX "__crc_" | 349 | #define CRC_PFX MODULE_SYMBOL_PREFIX "__crc_" |
350 | #define KSYMTAB_PFX "__ksymtab_" | 350 | #define KSYMTAB_PFX MODULE_SYMBOL_PREFIX "__ksymtab_" |
351 | 351 | ||
352 | static void handle_modversions(struct module *mod, struct elf_info *info, | 352 | static void handle_modversions(struct module *mod, struct elf_info *info, |
353 | Elf_Sym *sym, const char *symname) | 353 | Elf_Sym *sym, const char *symname) |