History

Merge branch 'linus' into perf/core

Merge reason: Pick up the latest perf fixes.

Ingo Molnar committed 16 years ago

Commit 9dcdbf72 parents cc5edb0 cd5b8f8579 files · +6034 −198187Browse files

Showing the changes to scripts (1 of 579 files). Show all

Unified · Split

scripts/mod/modpost.c+5−0
@@ -503,6 +503,11 @@ static int ignore_undef_symbol(struct elf_info *info, const char *symname) · 502 unmodified lines
503 strncmp(symname, "_rest32gpr_", sizeof("_rest32gpr_") - 1) == 0 ||503 strncmp(symname, "_rest32gpr_", sizeof("_rest32gpr_") - 1) == 0 ||
504 strncmp(symname, "_save32gpr_", sizeof("_save32gpr_") - 1) == 0)504 strncmp(symname, "_save32gpr_", sizeof("_save32gpr_") - 1) == 0)
505 return 1;505 return 1;
506 if (info->hdr->e_machine == EM_PPC64)
507 /* Special register function linked on all modules during final link of .ko */
508 if (strncmp(symname, "_restgpr0_", sizeof("_restgpr0_") - 1) == 0 ||
509 strncmp(symname, "_savegpr0_", sizeof("_savegpr0_") - 1) == 0)
510 return 1;
506 /* Do not ignore this symbol */511 /* Do not ignore this symbol */
507 return 0;512 return 0;
508}513}