X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=lib%2Fbug.c;h=8f9d537bfb2a59494a16b0a2dd1834618186c32e;hb=6fbd6cf85a3be127454a1ad58525a3adcf8612ab;hp=7103440c0ee1af84ccd732f131894836d628674a;hpb=8705ed2f725b4d2bcc1c2474a906c9ade0dfa28f;p=linux-2.6-microblaze.git diff --git a/lib/bug.c b/lib/bug.c index 7103440c0ee1..8f9d537bfb2a 100644 --- a/lib/bug.c +++ b/lib/bug.c @@ -91,8 +91,6 @@ void module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, char *secstrings; unsigned int i; - lockdep_assert_held(&module_mutex); - mod->bug_table = NULL; mod->num_bugs = 0; @@ -118,7 +116,6 @@ void module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, void module_bug_cleanup(struct module *mod) { - lockdep_assert_held(&module_mutex); list_del_rcu(&mod->bug_list); }