Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140522
b: refs/heads/master
c: 9cb610d
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell committed Mar 31, 2009
1 parent ca7b2a2 commit b2ba61f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6e665c8f0c18ab3686117905765b5139efd6ebd
refs/heads/master: 9cb610d8e35fe3ec95a2fe2030b02f85aeea83c1
3 changes: 3 additions & 0 deletions trunk/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -1961,6 +1961,9 @@ static noinline struct module *load_module(void __user *umod,
if (strncmp(secstrings+sechdrs[i].sh_name, ".exit", 5) == 0)
sechdrs[i].sh_flags &= ~(unsigned long)SHF_ALLOC;
#endif
/* Don't keep __versions around; it's just for loading. */
if (strcmp(secstrings + sechdrs[i].sh_name, "__versions") == 0)
sechdrs[i].sh_flags &= ~(unsigned long)SHF_ALLOC;
}

modindex = find_sec(hdr, sechdrs, secstrings,
Expand Down

0 comments on commit b2ba61f

Please sign in to comment.