mn10300: Fix up __bug_table handling in module loader.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 4 Aug 2008 10:21:23 +0000 (11:21 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Aug 2008 00:22:17 +0000 (17:22 -0700)
commit18f6db95dcfa68e93bafe435381299abbffb5c7e
tree371a929eccc515ce567245354c57df1b1ab20649
parentb13ad6f47c172761a3ce06f0fd12d19118b3076c
mn10300: Fix up __bug_table handling in module loader.

Platforms that are using GENERIC_BUG must call in to
module_bug_finalize()/module_bug_cleanup() in order to scan modules with
their own __bug_table sections that are otherwise unaccounted.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/kernel/module.c