]> git.baikalelectronics.ru Git - kernel.git/commit
module: better OOPS and lockdep coverage for loading modules
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Jan 2008 22:13:21 +0000 (17:13 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Jan 2008 06:13:22 +0000 (17:13 +1100)
commit9a183b43d98e09cc8744d6aedaa8fe475127bc06
tree25ff54c8402b6dedf45a3145b5d9904e14983bf4
parent0885d8c98a17ffa627e4d6a1924d06f7a267d6fb
module: better OOPS and lockdep coverage for loading modules

If we put the module in the linked list *before* calling into to, we
get the module name and functions in the OOPS (is_module_address can
find the module).  It also helps lockdep in a similar way.

Acked-and-tested-by: Joern Engel <joern@lazybastard.org>
Tested-by: Erez Zadok <ezk@cs.sunysb.edu>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c