summaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-01-29 17:13:21 -0500
committerRusty Russell <rusty@rustcorp.com.au>2008-01-29 17:13:22 +1100
commitbb9d3d56e792d2619cc0903df4ac01d86ac1261d (patch)
tree25ff54c8402b6dedf45a3145b5d9904e14983bf4 /include/linux/module.h
parentefa5345e39d01deef349c120f55ac6b6eabe7457 (diff)
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>
Diffstat (limited to 'include/linux/module.h')
0 files changed, 0 insertions, 0 deletions