Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204812
b: refs/heads/master
c: 511ca6a
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell committed Aug 5, 2010
1 parent b620c38 commit e33a348
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eded41c1c6466081e0eb00d38719c6e6ee81a5d4
refs/heads/master: 511ca6ae43fbe0a7c9e0b50ad275f7ef24ef3b58
3 changes: 2 additions & 1 deletion trunk/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -2045,7 +2045,8 @@ static void add_kallsyms(struct module *mod, struct load_info *info,

mod->symtab = (void *)symsec->sh_addr;
mod->num_symtab = symsec->sh_size / sizeof(Elf_Sym);
mod->strtab = info->strtab;
/* Make sure we get permanent strtab: don't use info->strtab. */
mod->strtab = (void *)info->sechdrs[info->index.str].sh_addr;

/* Set types up while we still have access to sections. */
for (i = 0; i < mod->num_symtab; i++)
Expand Down

0 comments on commit e33a348

Please sign in to comment.