]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commitbb9d3d56e792d2619cc0903df4ac01d86ac1261d
tree25ff54c8402b6dedf45a3145b5d9904e14983bf4
parentefa5345e39d01deef349c120f55ac6b6eabe7457
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