Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136409
b: refs/heads/master
c: e17029a
h: refs/heads/master
i:
  136407: ed69a61
v: v3
  • Loading branch information
Jaswinder Singh Rajput authored and Ingo Molnar committed Jan 12, 2009
1 parent a2e2886 commit 0411a3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 448dd2fa3ec915ad4325868ef8bb9b9490d9f6a9
refs/heads/master: e17029ad69c7b1518413c00f793d89bb77b8527b
6 changes: 3 additions & 3 deletions trunk/arch/x86/kernel/module_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void module_free(struct module *mod, void *module_region)
{
vfree(module_region);
/* FIXME: If module_region == mod->init_region, trim exception
table entries. */
table entries. */
}

/* We don't need anything special. */
Expand Down Expand Up @@ -113,13 +113,13 @@ int module_finalize(const Elf_Ehdr *hdr,
*para = NULL;
char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;

for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) {
for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) {
if (!strcmp(".text", secstrings + s->sh_name))
text = s;
if (!strcmp(".altinstructions", secstrings + s->sh_name))
alt = s;
if (!strcmp(".smp_locks", secstrings + s->sh_name))
locks= s;
locks = s;
if (!strcmp(".parainstructions", secstrings + s->sh_name))
para = s;
}
Expand Down

0 comments on commit 0411a3c

Please sign in to comment.