summaryrefslogtreecommitdiffstats
path: root/lib/devres.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-08-05 12:59:04 -0600
committerRusty Russell <rusty@rustcorp.com.au>2010-08-05 12:59:05 +0930
commit9f85a4bbb1cf56f65b3d065a5f88204a757f2325 (patch)
tree28d674a40dcab0e0c31349736718993f1e9377d4 /lib/devres.c
parent40dd2560ec2df21036db9ec8b971f92d98fd1969 (diff)
module: refactor load_module part 4
Allocate references inside module_unload_init(), clean up inside module_unload_free(). This version fixed to do allocation before __this_cpu_write, thanks to bug reports from linux-next from Dave Young <hidave.darkstar@gmail.com> and Stephen Rothwell <sfr@canb.auug.org.au>. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions