From: Rusty Russell Date: Thu, 5 Aug 2010 18:59:04 +0000 (-0600) Subject: module: refactor load_module part 4 X-Git-Tag: v2.6.36-rc1~549^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f85a4bbb1cf56f65b3d065a5f88204a757f2325;p=pandora-kernel.git 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 and Stephen Rothwell . Signed-off-by: Rusty Russell --- Reading git-diff-tree failed